vim: add nvim-go, update nixpkgs

This commit is contained in:
Sam W 2023-02-21 18:17:56 +00:00
parent f3533d8033
commit 17988ec069
3 changed files with 8 additions and 14 deletions

View File

@ -62,11 +62,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1672844754,
"narHash": "sha256-o26WabuHABQsaHxxmIrR3AQRqDFUEdLckLXkVCpIjSU=",
"lastModified": 1676998680,
"narHash": "sha256-61gxdL3bqHWnRSiYq+sKWbSX6tuwaRnYfPvhpRK011s=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "e9ade2c8240e00a4784fac282a502efff2786bdc",
"rev": "a3d745e701c337e65ef467d5a9400d9336a303a1",
"type": "github"
},
"original": {

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

View File

@ -97,6 +97,9 @@ require'lspconfig'.tsserver.setup{
}
]]--
-- Other language plugins
require('go').setup()
-- Diags with Trouble
require('trouble').setup {
icons = false,