Add more neovim stuff

This commit is contained in:
Torjus Håkestad 2024-02-28 02:46:28 +01:00
parent 1970352b59
commit 6a73ba3321
4 changed files with 14 additions and 2 deletions

View File

@ -8,7 +8,8 @@
vim-fugitive
undotree
telescope-nvim
lsp-zero-nvim
nvim-cmp
nvim-lspconfig
(nvim-treesitter.withPlugins (p: [
p.tree-sitter-nix
p.tree-sitter-go
@ -20,14 +21,22 @@
];
extraLuaConfig = ''
${builtins.readFile ./options.lua}
${builtins.readFile ./plugins.lua}
${builtins.readFile ./keybinds.lua}
'';
};
};
home.packages = with pkgs; [
# nix stuff
nixpkgs-fmt
nil
statix
# LSPs
gopls
nodePackages.pyright
nodePackages.typescript-language-server
nil
yaml-language-server
];
home.sessionVariables.EDITOR = "nvim";
}

View File

@ -0,0 +1 @@
-- Keybinds

View File

@ -1,3 +1,4 @@
-- Options
vim.g.mapleader = ' '
vim.g.maplocalleader = ' '

View File

@ -0,0 +1 @@
-- Plugins