mirror of https://github.com/wlcx/home.git
vim: add nvim-go, update nixpkgs
This commit is contained in:
parent
f3533d8033
commit
17988ec069
|
@ -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": {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -97,6 +97,9 @@ require'lspconfig'.tsserver.setup{
|
|||
}
|
||||
]]--
|
||||
|
||||
-- Other language plugins
|
||||
require('go').setup()
|
||||
|
||||
-- Diags with Trouble
|
||||
require('trouble').setup {
|
||||
icons = false,
|
||||
|
|
Loading…
Reference in New Issue