nvim: init treesiter-nvim
I wanted fancy markdown rendering in nvim and that needed a treesitter lsp, so this adds treesitter and the markdown lsp.
This commit is contained in:
parent
2d5b5cb37d
commit
53dbae8493
2 changed files with 13 additions and 0 deletions
|
@ -22,6 +22,14 @@ require'lspconfig'.pylsp.setup{
|
|||
}
|
||||
}
|
||||
}
|
||||
require'nvim-treesitter.configs'.setup {
|
||||
ensure_installed = { },
|
||||
auto_install = false,
|
||||
highlight = {
|
||||
enable = true,
|
||||
additional_vim_regex_highlighting = false,
|
||||
},
|
||||
}
|
||||
|
||||
-- Add additional capabilities supported by nvim-cmp
|
||||
local capabilities = require("cmp_nvim_lsp").default_capabilities()
|
||||
|
|
|
@ -113,6 +113,11 @@ in
|
|||
neo-tree-nvim
|
||||
nvim-cmp
|
||||
nvim-lspconfig
|
||||
(nvim-treesitter.withPlugins (
|
||||
plugins: with plugins; [
|
||||
markdown
|
||||
]
|
||||
))
|
||||
spaceman-nvim
|
||||
telescope-nvim
|
||||
telescope-undo-nvim
|
||||
|
|
Loading…
Reference in a new issue