Skip to content

Commit 3e62efd

Browse files
committed
nixvim: Add keybinding for LspRestart
1 parent 80397e6 commit 3e62efd

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

genericHM/commonNeovim.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,5 +139,12 @@
139139
virtual_text = false;
140140
virtual_lines.only_current_line = true;
141141
};
142+
143+
#this config option doesn't exist yet in 24.11
144+
#add keymap to restart lsp server to load external file changes
145+
lsp.keymaps = [{
146+
action = "<CMD>LspRestart<Enter>";
147+
key = "<LocalLeader>r";
148+
}];
142149
};
143150
}

0 commit comments

Comments
 (0)