mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-02 00:56:02 +02:00
indent line plugin option
This commit is contained in:
parent
daf5b8d948
commit
b6866925e1
4 changed files with 30 additions and 8 deletions
|
@ -21,7 +21,6 @@ O = {
|
||||||
ensure_installed = "all",
|
ensure_installed = "all",
|
||||||
ignore_install = {"haskell"},
|
ignore_install = {"haskell"},
|
||||||
highlight = {enabled = true},
|
highlight = {enabled = true},
|
||||||
playground = {enabled = true},
|
|
||||||
rainbow = {enabled = false}
|
rainbow = {enabled = false}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -35,6 +34,7 @@ O = {
|
||||||
colorizer = {active = false},
|
colorizer = {active = false},
|
||||||
numb = {active = false},
|
numb = {active = false},
|
||||||
ts_playground = {active = false},
|
ts_playground = {active = false},
|
||||||
|
indent_line = {active = false}
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
|
@ -185,7 +185,27 @@ return require("packer").startup(function(use)
|
||||||
event = "BufRead",
|
event = "BufRead",
|
||||||
disable = not O.plugin.ts_playground.active
|
disable = not O.plugin.ts_playground.active
|
||||||
}
|
}
|
||||||
-- use {'lukas-reineke/indent-blankline.nvim', opt=true, branch = 'lua'}
|
|
||||||
|
use {
|
||||||
|
"lukas-reineke/indent-blankline.nvim",
|
||||||
|
branch = "lua",
|
||||||
|
event = "BufRead",
|
||||||
|
setup = function()
|
||||||
|
|
||||||
|
vim.g.indentLine_enabled = 1
|
||||||
|
vim.g.indent_blankline_char = "▏"
|
||||||
|
|
||||||
|
vim.g.indent_blankline_filetype_exclude = {
|
||||||
|
"help", "terminal", "dashboard"
|
||||||
|
}
|
||||||
|
vim.g.indent_blankline_buftype_exclude = {"terminal"}
|
||||||
|
|
||||||
|
vim.g.indent_blankline_show_trailing_blankline_indent = false
|
||||||
|
vim.g.indent_blankline_show_first_indent_level = true
|
||||||
|
end,
|
||||||
|
disable = not O.plugin.indent_line.active
|
||||||
|
}
|
||||||
|
|
||||||
-- use {"nvim-telescope/telescope-fzy-native.nvim", opt = true}
|
-- use {"nvim-telescope/telescope-fzy-native.nvim", opt = true}
|
||||||
-- use {"nvim-telescope/telescope-project.nvim", opt = true}
|
-- use {"nvim-telescope/telescope-project.nvim", opt = true}
|
||||||
-- -- comments in context
|
-- -- comments in context
|
||||||
|
|
|
@ -46,3 +46,4 @@ vim.cmd('filetype plugin on') -- filetype detection
|
||||||
vim.o.guifont = "FiraCode Nerd Font:h17"
|
vim.o.guifont = "FiraCode Nerd Font:h17"
|
||||||
|
|
||||||
-- vim.o.guifont = "JetBrains\\ Mono\\ Regular\\ Nerd\\ Font\\ Complete"
|
-- vim.o.guifont = "JetBrains\\ Mono\\ Regular\\ Nerd\\ Font\\ Complete"
|
||||||
|
|
||||||
|
|
|
@ -17,13 +17,14 @@ O.extras = false
|
||||||
O.leader_key = ' '
|
O.leader_key = ' '
|
||||||
|
|
||||||
-- After changing plugin config it is recommended to run :PackerCompile
|
-- After changing plugin config it is recommended to run :PackerCompile
|
||||||
O.plugin.hop.active = true
|
O.plugin.hop.active = false
|
||||||
O.plugin.dial.active = true
|
O.plugin.dial.active = false
|
||||||
O.plugin.dashboard.active = true
|
O.plugin.dashboard.active = true
|
||||||
O.plugin.matchup.active = true
|
O.plugin.matchup.active = false
|
||||||
O.plugin.colorizer.active = true
|
O.plugin.colorizer.active = false
|
||||||
O.plugin.numb.active = true
|
O.plugin.numb.active = false
|
||||||
O.plugin.ts_playground.active = true
|
O.plugin.ts_playground.active = false
|
||||||
|
O.plugin.indent_line.active = false
|
||||||
|
|
||||||
-- dashboard
|
-- dashboard
|
||||||
-- O.dashboard.custom_header = {""}
|
-- O.dashboard.custom_header = {""}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue