Compare commits
No commits in common. "d873f5ffb14a8b52ec3567865e11026e1566a403" and "79e474e8eb866e4c80494f5be40749b611650059" have entirely different histories.
d873f5ffb1
...
79e474e8eb
@ -115,21 +115,10 @@ null_ls.setup({
|
|||||||
})
|
})
|
||||||
|
|
||||||
-- setup lsp_lines
|
-- setup lsp_lines
|
||||||
require("lsp_lines").setup()
|
local lsp_lines = require("lsp_lines")
|
||||||
|
lsp_lines.setup()
|
||||||
-- setup vim diagnostics
|
|
||||||
vim.diagnostic.config({
|
vim.diagnostic.config({
|
||||||
virtual_text = false,
|
virtual_text = false,
|
||||||
signs = true,
|
|
||||||
update_in_insert = true,
|
|
||||||
underline = true,
|
|
||||||
severity_sort = false,
|
|
||||||
float = {
|
|
||||||
border = "rounded",
|
|
||||||
source = "always",
|
|
||||||
header = "",
|
|
||||||
prefix = "",
|
|
||||||
},
|
|
||||||
})
|
})
|
||||||
|
|
||||||
-- setup html languageserver
|
-- setup html languageserver
|
||||||
|
@ -34,10 +34,6 @@ vim.opt.inccommand = "split"
|
|||||||
-- completion
|
-- completion
|
||||||
vim.opt.completeopt = "menu,menuone,noselect"
|
vim.opt.completeopt = "menu,menuone,noselect"
|
||||||
|
|
||||||
-- folding
|
|
||||||
vim.opt.foldmethod = "expr"
|
|
||||||
vim.opt.foldexpr = 'nvim_treesitter#foldexpr()'
|
|
||||||
|
|
||||||
-- set cursorline in active window
|
-- set cursorline in active window
|
||||||
vim.cmd([[
|
vim.cmd([[
|
||||||
augroup CursorLine
|
augroup CursorLine
|
||||||
@ -55,3 +51,4 @@ vim.cmd([[
|
|||||||
autocmd TermOpen * setlocal nonumber norelativenumber
|
autocmd TermOpen * setlocal nonumber norelativenumber
|
||||||
augroup END
|
augroup END
|
||||||
]])
|
]])
|
||||||
|
|
||||||
|
@ -1,20 +1,8 @@
|
|||||||
require('nvim-treesitter.configs').setup({
|
require('nvim-treesitter.configs').setup({
|
||||||
|
highlight = { enable = true, additional_vim_regex_highlighting = false },
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
"bash", "c", "cpp", "css", "dockerfile", "hcl", "html", "javascript",
|
"bash", "c", "cpp", "css", "dockerfile", "hcl", "html", "javascript",
|
||||||
"json", "latex", "lua", "markdown", "nix", "python", "rust", "svelte",
|
"json", "latex", "lua", "markdown", "nix", "python", "rust", "svelte",
|
||||||
"toml", "tsx", "typescript", "vim", "vue", "yaml"
|
"toml", "tsx", "typescript", "vim", "vue", "yaml"
|
||||||
},
|
}
|
||||||
auto_install = true,
|
|
||||||
highlight = {
|
|
||||||
enable = true,
|
|
||||||
additional_vim_regex_highlighting = false
|
|
||||||
},
|
|
||||||
indent = {
|
|
||||||
enable = true,
|
|
||||||
},
|
|
||||||
rainbow = {
|
|
||||||
enable = true,
|
|
||||||
extended_mode = true,
|
|
||||||
max_file_lines = nil,
|
|
||||||
},
|
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user