mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
neovim: fix encoding issue with nixd
This commit is contained in:
parent
bbfd32df5b
commit
f2b703d7d9
@ -158,6 +158,11 @@
|
||||
end
|
||||
}
|
||||
|
||||
lspconfig.nixd.setup {
|
||||
capabilities = capabilities,
|
||||
offset_encoding = 'utf-8'
|
||||
}
|
||||
|
||||
vim.keymap.set('n', '<space>e', vim.diagnostic.open_float)
|
||||
vim.keymap.set('n', '[d', vim.diagnostic.goto_prev)
|
||||
vim.keymap.set('n', ']d', vim.diagnostic.goto_next)
|
||||
@ -203,7 +208,6 @@
|
||||
local lspconfig = require('lspconfig')
|
||||
|
||||
local servers = {
|
||||
'nixd',
|
||||
'rust_analyzer',
|
||||
'markdown_oxide',
|
||||
'html',
|
||||
|
Loading…
Reference in New Issue
Block a user