vim: add nvim-go, update nixpkgs

This commit is contained in:
2023-02-21 18:17:56 +00:00
parent f3533d8033
commit 17988ec069
3 changed files with 8 additions and 14 deletions
+2 -11
View File
@@ -3,17 +3,7 @@
lib,
system,
...
}: let
vim-vue-plugin = pkgs.vimUtils.buildVimPlugin {
name = "vim-vue-plugin";
src = pkgs.fetchFromGitHub {
owner = "leafOfTree";
repo = "vim-vue-plugin";
rev = "b2bb4dd8f6d97909c48bc33937177d4068921a10";
sha256 = "eBfMxt5AaSCHzU7PFp7eWZhGY8l3EqeMLrU0ntB6eLA=";
};
};
in {
}: {
programs.neovim.plugins = with pkgs.vimPlugins;
[
# More fancy shit
@@ -24,6 +14,7 @@ in {
nvim-cmp
cmp-nvim-lsp
# Language specific
go-nvim
rust-vim
vim-terraform
vim-protobuf
+3
View File
@@ -97,6 +97,9 @@ require'lspconfig'.tsserver.setup{
}
]]--
-- Other language plugins
require('go').setup()
-- Diags with Trouble
require('trouble').setup {
icons = false,