diff options
Diffstat (limited to 'user/settings')
-rw-r--r-- | user/settings/neovim.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/user/settings/neovim.nix b/user/settings/neovim.nix index 108b51a7..59c75a91 100644 --- a/user/settings/neovim.nix +++ b/user/settings/neovim.nix @@ -23,6 +23,11 @@ settings = { "json.enable" = true; "suggest.enablePreview" = true; + "coc.preferences.formatOnSaveFiletypes" = [ "nix" ]; + "nil.formatting.command" = "nixpkgs-fmt"; + semantictokens = { + filetypes = [ "nix" ]; + }; languageserver = { nix = { command = "${pkgs.nil}/bin/nil"; |