feat(nvim): use and configure treesitter from lua, not nix
This commit is contained in:
parent
d3ea545073
commit
f8bb16902a
2 changed files with 49 additions and 45 deletions
|
@ -57,48 +57,5 @@
|
|||
{ "nvim/lua/resession/extensions".source = "${astronvim}/lua/resession/extensions"; }
|
||||
{ "nvim/lua/lazy_snapshot.lua".source = "${astronvim}/lua/lazy_snapshot.lua"; }
|
||||
{ "nvim/lua/user".source = ./user; }
|
||||
{
|
||||
"nvim/parser".source =
|
||||
let
|
||||
parsers = pkgs.symlinkJoin {
|
||||
name = "treesitter-parsers";
|
||||
paths = (pkgs.vimPlugins.nvim-treesitter.withPlugins (plugins: with plugins; [
|
||||
bash
|
||||
c
|
||||
cmake
|
||||
cpp
|
||||
css
|
||||
cuda
|
||||
dockerfile
|
||||
gdscript
|
||||
glsl
|
||||
godot_resource
|
||||
html
|
||||
javascript
|
||||
jsdoc
|
||||
json
|
||||
jsonc
|
||||
lua
|
||||
lua
|
||||
markdown
|
||||
markdown_inline
|
||||
nim
|
||||
nim_format_string
|
||||
nix
|
||||
objc
|
||||
proto
|
||||
python
|
||||
query
|
||||
tsx
|
||||
typescript
|
||||
vim
|
||||
vimdoc
|
||||
vue
|
||||
yaml
|
||||
])).dependencies;
|
||||
};
|
||||
in
|
||||
"${parsers}/parser";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue