mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[nix] Fix bugs and switch to nil for nix lsp
This commit is contained in:
parent
849c0fef38
commit
3afd67e5cd
3 changed files with 8 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
{ dotfiles, ... }:
|
||||
{ pkgs, dotfiles, ... }:
|
||||
|
||||
{
|
||||
programs.neovim = {
|
||||
|
@ -11,10 +11,14 @@
|
|||
enable = true;
|
||||
|
||||
settings = {
|
||||
languageServer = {
|
||||
languageserver = {
|
||||
nix = {
|
||||
command = "rnix-lsp";
|
||||
command = "nil";
|
||||
filetypes = [ "nix" ];
|
||||
rootPatterns = [ "flake.nix" ];
|
||||
"settings.nil" = {
|
||||
"formatting.command" = ["nixpkgs-fmt"];
|
||||
};
|
||||
};
|
||||
"go.goPlsOptions" = {
|
||||
completion = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue