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": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1672844754, "lastModified": 1676998680,
"narHash": "sha256-o26WabuHABQsaHxxmIrR3AQRqDFUEdLckLXkVCpIjSU=", "narHash": "sha256-61gxdL3bqHWnRSiYq+sKWbSX6tuwaRnYfPvhpRK011s=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "e9ade2c8240e00a4784fac282a502efff2786bdc", "rev": "a3d745e701c337e65ef467d5a9400d9336a303a1",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -3,17 +3,7 @@
lib, lib,
system, 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; programs.neovim.plugins = with pkgs.vimPlugins;
[ [
# More fancy shit # More fancy shit
@ -24,6 +14,7 @@ in {
nvim-cmp nvim-cmp
cmp-nvim-lsp cmp-nvim-lsp
# Language specific # Language specific
go-nvim
rust-vim rust-vim
vim-terraform vim-terraform
vim-protobuf vim-protobuf

View File

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