fix depreciated nvim treesitter
This commit is contained in:
@@ -79,10 +79,10 @@
|
||||
plugin = nerdcommenter;
|
||||
config = toLuaFile ./plugins/nerdcommenter.lua;
|
||||
}
|
||||
# {
|
||||
# plugin = nvim-tree-lua;
|
||||
# config = toLuaFile ./plugins/nvimtree.lua;
|
||||
# }
|
||||
{
|
||||
plugin = nvim-tree-lua;
|
||||
config = toLuaFile ./plugins/nvimtree.lua;
|
||||
}
|
||||
# {
|
||||
# plugin = vim-airline;
|
||||
# config = toLuaFile ./plugins/airline.lua;
|
||||
@@ -104,42 +104,43 @@
|
||||
plugin = lualine-nvim;
|
||||
config = toLuaFile ./plugins/lualine.lua;
|
||||
}
|
||||
{
|
||||
plugin = nvim-treesitter.withPlugins (p: [
|
||||
# p.tree-sitter-nix
|
||||
# p.tree-sitter-vim
|
||||
# p.tree-sitter-bash
|
||||
# p.tree-sitter-lua
|
||||
# p.tree-sitter-python
|
||||
# p.tree-sitter-json
|
||||
p.bash
|
||||
p.comment
|
||||
p.css
|
||||
p.dockerfile
|
||||
p.fish
|
||||
p.gitattributes
|
||||
p.gitignore
|
||||
p.go
|
||||
p.gomod
|
||||
p.gowork
|
||||
p.hcl
|
||||
p.javascript
|
||||
p.jq
|
||||
p.json5
|
||||
p.json
|
||||
p.lua
|
||||
p.make
|
||||
p.markdown
|
||||
p.nix
|
||||
p.python
|
||||
p.rust
|
||||
p.toml
|
||||
p.typescript
|
||||
p.yaml
|
||||
p.agda
|
||||
]);
|
||||
config = toLuaFile ./plugins/treesitter.lua;
|
||||
}
|
||||
# depreciated :(
|
||||
# {
|
||||
# plugin = nvim-treesitter.withPlugins (p: [
|
||||
# # p.tree-sitter-nix
|
||||
# # p.tree-sitter-vim
|
||||
# # p.tree-sitter-bash
|
||||
# # p.tree-sitter-lua
|
||||
# # p.tree-sitter-python
|
||||
# # p.tree-sitter-json
|
||||
# p.bash
|
||||
# p.comment
|
||||
# p.css
|
||||
# p.dockerfile
|
||||
# p.fish
|
||||
# p.gitattributes
|
||||
# p.gitignore
|
||||
# p.go
|
||||
# p.gomod
|
||||
# p.gowork
|
||||
# p.hcl
|
||||
# p.javascript
|
||||
# p.jq
|
||||
# p.json5
|
||||
# p.json
|
||||
# p.lua
|
||||
# p.make
|
||||
# p.markdown
|
||||
# p.nix
|
||||
# p.python
|
||||
# p.rust
|
||||
# p.toml
|
||||
# p.typescript
|
||||
# p.yaml
|
||||
# p.agda
|
||||
# ]);
|
||||
# config = toLuaFile ./plugins/treesitter.lua;
|
||||
# }
|
||||
];
|
||||
|
||||
# extraConfig = lib.fileContents ./init.vim;
|
||||
|
||||
Reference in New Issue
Block a user