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:
stitchy 2024-12-09 10:10:05 +00:00
parent 2d5b5cb37d
commit 53dbae8493
Signed by: stitchy
SSH key fingerprint: SHA256:yz2SoxdnY67tfY5Jzb0f2v8f5W3o/IF359kbcquWip8
2 changed files with 13 additions and 0 deletions

View file

@ -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()

View file

@ -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