nvim: fix tags
Thanks, Cody!
This commit is contained in:
parent
79fd639636
commit
c1b52bb5e5
@ -150,7 +150,6 @@ in {
|
||||
(lib.mkIf devTools [
|
||||
pkgs.pkgs-unstable.vimPlugins.vim-go
|
||||
pkgs.vimPlugins.zig-vim
|
||||
pkgs.vimPlugins.nvim-lspconfig
|
||||
])
|
||||
];
|
||||
extraConfig = builtins.readFile ./vimrc;
|
||||
|
@ -2,15 +2,3 @@ vim.api.nvim_exec([[
|
||||
set grepprg=@ripgrep@/bin/rg\ --vimgrep grepformat^=%f:%l:%c:%m
|
||||
"au FileType go let g:go_fmt_command = "@gotools@/bin/goimports"
|
||||
]], false)
|
||||
|
||||
|
||||
-- trying https://github.com/neovim/nvim-lspconfig/issues/888
|
||||
local lspconfig = require("lspconfig")
|
||||
lspconfig.gopls.setup({
|
||||
cmd = {"@gopls@/bin/gopls"},
|
||||
settings = {
|
||||
gopls = {
|
||||
buildFlags = {"-tags=integration"},
|
||||
},
|
||||
},
|
||||
})
|
||||
|
@ -61,6 +61,7 @@
|
||||
|
||||
home-manager.users.${config.mj.username} = {
|
||||
home.sessionVariables = {
|
||||
GOFLAGS = "-tags=cluster_integration";
|
||||
GOPRIVATE = "github.com/chronosphereio";
|
||||
BUILDKIT_COLORS = "run=123,20,245:error=yellow:cancel=blue:warning=white";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user