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" },
"heirline.nvim": { "branch": "master", "commit": "0d797435e54645a5f98bad7ad6046aac1ef95c1e" },
"hlchunk.nvim": { "branch": "main", "commit": "d49b06762b51209b41577a84dc2925b4969e3954" },
"indent-blankline.nvim": { "branch": "master", "commit": "65e20ab94a26d0e14acac5049b8641336819dfc7" },
"kanagawa.nvim": { "branch": "master", "commit": "e5f7b8a804360f0a48e40d0083a97193ee4fcc87" },
"lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" },
"lazydev.nvim": { "branch": "main", "commit": "491452cf1ca6f029e90ad0d0368848fac717c6d2" },

View File

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

View File

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