Merge branch 'main' into fix-lsp-toggle-format-on-save

This commit is contained in:
raf 2025-05-06 09:19:35 +00:00 committed by GitHub
commit 21a440e2f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
75 changed files with 544 additions and 354 deletions

View file

@ -14,8 +14,6 @@ in {
config = mkIf cfg.lspconfig.enable (mkMerge [
{
vim = {
lsp.enable = true;
startPlugins = ["nvim-lspconfig"];
pluginRC.lspconfig = entryAfter ["lsp-setup"] ''

View file

@ -3,11 +3,12 @@
inherit (lib.nvim.binds) mkMappingOption;
in {
options.vim.lsp = {
enable = mkEnableOption "LSP, also enabled automatically through null-ls and lspconfig options";
formatOnSave = mkEnableOption "format on save";
inlayHints = {
enable = mkEnableOption "inlay hints";
};
mappings = {
goToDefinition =
mkMappingOption "Go to definition"