Skip to content

Commit 21f3793

Browse files
committed
nvim/lsp: enable GN language server
Using my own fork of nvim-lspconfig [1] for now, until my PR gets merged upstream. [1] https://github.com/nickdiego/nvim-lspconfig/tree/gnls [2] neovim/nvim-lspconfig#3773 Signed-off-by: Nick Diego Yamane <nickdiego@igalia.com>
1 parent 1a1dc1d commit 21f3793

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

config/nvim/lua/config/lsp.lua

+4
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ lspconfig.mesonlsp.setup {
8686
on_attach = on_attach,
8787
}
8888

89+
lspconfig.gnls.setup {
90+
on_attach = on_attach,
91+
}
92+
8993
-- Diagnostic configs
9094
vim.diagnostic.config({
9195
signs = false,

config/nvim/lua/plugins.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ return {
5555
{ 'tpope/vim-fugitive' },
5656
{ 'rhysd/committia.vim' },
5757
{ 'chromium/vim-codesearch' },
58-
{ 'neovim/nvim-lspconfig' },
58+
{ 'nickdiego/nvim-lspconfig' },
5959

6060
-- completion
6161
{ 'hrsh7th/nvim-cmp',

0 commit comments

Comments
 (0)