summaryrefslogtreecommitdiff
path: root/after/ftplugin
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-10-01 12:32:15 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-10-01 12:46:03 +0200
commit392d3df314874fe802d51f84e3a63f82a8ab893b (patch)
treef8cfbd92339eb40a8fb8fd8aea29bad46e3ac0c5 /after/ftplugin
parent08fe2898811816fd0a096e6996d8ed25d2e940c8 (diff)
Changes to snippets, lsp, lazy and set.lua
- Changed go snippets to be more intuitive - lazy.lua: - Added lsp_signature plugin - Added which-keky plugin - lsp.lua: - Changed lsp.lua to have variables at the top - Added more keybinds for diagnostics - Added gopls configuration for inlay hints - Moved borders from set.lua to lsp.lua - Added ts_ls and powershell lsps - set.lua: - Added colorcolumn option - luasnip.lua: - Added shebang snippet for shell
Diffstat (limited to 'after/ftplugin')
-rw-r--r--after/ftplugin/sh.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/after/ftplugin/sh.lua b/after/ftplugin/sh.lua
new file mode 100644
index 0000000..2cb8493
--- /dev/null
+++ b/after/ftplugin/sh.lua
@@ -0,0 +1,3 @@
+local map = vim.keymap.set
+
+map("n", ",v", [[<cmd>s/\(\s*\)\(.\+\)/\1"$(\2)"/<cr>]])