From f2b703d7d9b88b263cfc7ef1d8e7c2a922e5f045 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Tue, 15 Oct 2024 16:47:31 -0400 Subject: [PATCH] neovim: fix encoding issue with nixd --- home/neovim.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/home/neovim.nix b/home/neovim.nix index ce50c7d9..78cae76e 100644 --- a/home/neovim.nix +++ b/home/neovim.nix @@ -158,6 +158,11 @@ end } + lspconfig.nixd.setup { + capabilities = capabilities, + offset_encoding = 'utf-8' + } + vim.keymap.set('n', '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',