astro-nvim-v3 - config indent

This commit is contained in:
huyjaky
2024-07-26 14:12:55 +07:00
parent 2aad587ec5
commit ecf71ab4c5
4 changed files with 22 additions and 8 deletions

View File

@@ -31,6 +31,7 @@
"guess-indent.nvim": { "branch": "main", "commit": "6cd61f7a600bb756e558627cd2e740302c58e32d" }, "guess-indent.nvim": { "branch": "main", "commit": "6cd61f7a600bb756e558627cd2e740302c58e32d" },
"heirline.nvim": { "branch": "master", "commit": "0d797435e54645a5f98bad7ad6046aac1ef95c1e" }, "heirline.nvim": { "branch": "master", "commit": "0d797435e54645a5f98bad7ad6046aac1ef95c1e" },
"hlchunk.nvim": { "branch": "main", "commit": "d49b06762b51209b41577a84dc2925b4969e3954" }, "hlchunk.nvim": { "branch": "main", "commit": "d49b06762b51209b41577a84dc2925b4969e3954" },
"indent-blankline.nvim": { "branch": "master", "commit": "65e20ab94a26d0e14acac5049b8641336819dfc7" },
"kanagawa.nvim": { "branch": "master", "commit": "e5f7b8a804360f0a48e40d0083a97193ee4fcc87" }, "kanagawa.nvim": { "branch": "master", "commit": "e5f7b8a804360f0a48e40d0083a97193ee4fcc87" },
"lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" }, "lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" },
"lazydev.nvim": { "branch": "main", "commit": "491452cf1ca6f029e90ad0d0368848fac717c6d2" }, "lazydev.nvim": { "branch": "main", "commit": "491452cf1ca6f029e90ad0d0368848fac717c6d2" },

View File

@@ -1,7 +1,7 @@
-- Plugins to disable -- Plugins to disable
return { return {
{ "nvim-neo-tree/neo-tree.nvim", enabled = true }, { "nvim-neo-tree/neo-tree.nvim", enabled = true },
{ "lukas-reineke/indent-blankline.nvim", enabled = false }, { "lukas-reineke/indent-blankline.nvim", enabled = false},
{ "s1n7ax/nvim-window-picker", enabled = false }, { "s1n7ax/nvim-window-picker", enabled = false },
{ "akinsho/toggleterm.nvim", enabled = false }, { "akinsho/toggleterm.nvim", enabled = false },
{ "NvChad/nvim-colorizer.lua", enabled = false }, { "NvChad/nvim-colorizer.lua", enabled = false },

View File

@@ -1,3 +1,4 @@
local rainbow = require "plugins.ts-rainbow"
-- Plugins that enhance editor experience -- Plugins that enhance editor experience
return { return {
{ {
@@ -73,19 +74,30 @@ return {
enable = true, enable = true,
notify = false, notify = false,
chars = { chars = {
horizontal_line = "", -- horizontal_line = "━",
vertical_line = "", -- vertical_line = "┃",
left_top = "", -- left_top = "┏",
left_bottom = "", -- left_bottom = "┗",
-- right_arrow = "➤", -- right_arrow = "➤",
}, },
style = "#06D001", style = "#06D001",
delay = 50, delay = 25,
}, },
indent = { indent = {
enable = true, enable = true,
chars = { "|" }, use_treesitter = false,
style = "#5A639C", chars = {
"",
},
style = {
"#FF0000",
"#FF7F00",
"#FFFF00",
-- "#00FF00",
"#00FFFF",
"#0000FF",
"#8B00FF",
},
}, },
blank = { blank = {
enable = false, enable = false,

View File

@@ -14,6 +14,7 @@ return {
}) })
opts.highlight = { opts.highlight = {
enable = true, enable = true,
disable = { "c", "rust", "tsx", "javascript", "python"},
additional_vim_regex_highlighting = false, additional_vim_regex_highlighting = false,
custom_captures = { custom_captures = {
-- Highlight local variables -- Highlight local variables