add nvim-treesitter with nix and typescript
This commit is contained in:
parent
5ce07a047a
commit
3f121e3608
1 changed files with 10 additions and 0 deletions
|
|
@ -34,6 +34,10 @@ in {
|
|||
|
||||
lf-vim
|
||||
vim-floaterm
|
||||
(nvim-treesitter.withPlugins (p: with p; [
|
||||
tree-sitter-nix
|
||||
tree-sitter-typescript
|
||||
]))
|
||||
];
|
||||
withNodeJs = true;
|
||||
|
||||
|
|
@ -82,6 +86,12 @@ in {
|
|||
|
||||
" disable empty line tildes
|
||||
set fcs=eob:\
|
||||
|
||||
lua <<EOF
|
||||
require'nvim-treesitter.configs'.setup {
|
||||
highlight = { enable = true }
|
||||
}
|
||||
EOF
|
||||
'';
|
||||
};
|
||||
xdg.configFile."nvim/coc-settings.json".text = builtins.toJSON {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue