Skip to content

Commit

Permalink
fix(config/lang/nix): Add utf-8 offset encoding for nixd
Browse files Browse the repository at this point in the history
  • Loading branch information
alesauce committed Nov 17, 2024
1 parent e77cbce commit 74b4481
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion config/lang/nix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@

plugins = {
nix.enable = true;
lsp.servers.nixd.enable = true;
lsp.servers.nixd = {
enable = true;
extraOptions = {
offset_encoding = "utf-8";
};
};
none-ls.sources = {
formatting.alejandra.enable = true;
diagnostics = {
Expand Down

0 comments on commit 74b4481

Please sign in to comment.