Skip to content

Commit 9bb1855

Browse files
committed
chore(packages): update
wip
1 parent 1b5df62 commit 9bb1855

2 files changed

Lines changed: 37 additions & 24 deletions

File tree

config/languages/lsp.nix

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,19 @@
5757
pattern = "cs";
5858
}
5959
];
60+
setupOpts = {
61+
# Search parent directories for solution files, not just cwd.
62+
# Fixes "LSP not attaching" when the .sln is above the opened file.
63+
broad_search = true;
64+
65+
# Once a solution is selected, lock it so re-opening files doesn't
66+
# trigger re-selection or re-initialization (avoids needing restarts).
67+
lock_target = true;
68+
69+
# Let roslyn own file watching instead of neovim competing with it.
70+
# Switch to "off" if you notice performance issues.
71+
filewatching = "roslyn";
72+
};
6073
};
6174
};
6275
extraPlugins = with pkgs.vimPlugins; {

flake.lock

Lines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)