refactor: lint and dap
This commit is contained in:
parent
a9cb122592
commit
7785311043
46 changed files with 2453 additions and 0 deletions
21
nivm/settings/treesitter.lua
Normal file
21
nivm/settings/treesitter.lua
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
local status_ok, _ = pcall(require, "nvim-treesitter.configs")
|
||||
if not status_ok then
|
||||
return
|
||||
end
|
||||
|
||||
require'nvim-treesitter.configs'.setup {
|
||||
-- A list of parser names, or "all"
|
||||
ensure_installed = { "latex" , "c", "cpp" , "rust" , "lua", "haskell" , "java" , "javascript" , "typescript" },
|
||||
highlight = {
|
||||
enable = true,
|
||||
additional_vim_regex_highlighting = false,
|
||||
},
|
||||
}
|
||||
|
||||
local status_ok2, _ = pcall(require, "spellsitter")
|
||||
if not status_ok2 then
|
||||
return
|
||||
end
|
||||
|
||||
require("spellsitter").setup()
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue