feat: neovim
This commit is contained in:
parent
80c32eae8b
commit
bbeb0aa8c2
@ -36,6 +36,7 @@
|
|||||||
html.enable = true;
|
html.enable = true;
|
||||||
denols.enable = true;
|
denols.enable = true;
|
||||||
denols.autostart = false;
|
denols.autostart = false;
|
||||||
|
gopls.enable = true;
|
||||||
};
|
};
|
||||||
keymaps.lspBuf = {
|
keymaps.lspBuf = {
|
||||||
gd = { action = "definition"; desc = "Goto Definition"; };
|
gd = { action = "definition"; desc = "Goto Definition"; };
|
||||||
@ -114,8 +115,24 @@
|
|||||||
treesitter = {
|
treesitter = {
|
||||||
enable = true;
|
enable = true;
|
||||||
folding = true;
|
folding = true;
|
||||||
|
grammarPackages = with pkgs.vimPlugins.nvim-treesitter.builtGrammars; [
|
||||||
|
bash
|
||||||
|
json
|
||||||
|
lua
|
||||||
|
make
|
||||||
|
markdown
|
||||||
|
nix
|
||||||
|
regex
|
||||||
|
toml
|
||||||
|
vim
|
||||||
|
vimdoc
|
||||||
|
xml
|
||||||
|
yaml
|
||||||
|
javascript
|
||||||
|
go
|
||||||
|
typescript
|
||||||
|
];
|
||||||
settings = {
|
settings = {
|
||||||
ensure_installed = "all";
|
|
||||||
highlight.enable = true;
|
highlight.enable = true;
|
||||||
indent.enable = true;
|
indent.enable = true;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user