aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2024-12-24 01:30:35 +0100
committerpml68 <contact@pml68.dev>2024-12-24 01:30:35 +0100
commit947d2200d43f3452f89e47a1d6df1ede710aeead (patch)
treee138f55f76bbac5d1575dfe2f8985f26fc026c53
parentci(docker): switch event triggers to paths-ignore (diff)
downloadnvim-947d2200d43f3452f89e47a1d6df1ede710aeead.tar.gz
feat: use tabs in Makefiles, use LSP for rust formatting
-rw-r--r--ftplugin/makefile.lua1
-rw-r--r--lua/pml68/plugins/guard.lua2
-rw-r--r--spell/en.utf-8.add1
-rw-r--r--spell/en.utf-8.add.splbin172 -> 181 bytes
4 files changed, 3 insertions, 1 deletions
diff --git a/ftplugin/makefile.lua b/ftplugin/makefile.lua
new file mode 100644
index 0000000..3436b9c
--- /dev/null
+++ b/ftplugin/makefile.lua
@@ -0,0 +1 @@
+vim.opt_local.expandtab = false
diff --git a/lua/pml68/plugins/guard.lua b/lua/pml68/plugins/guard.lua
index 7bdc7a7..1cfbbf2 100644
--- a/lua/pml68/plugins/guard.lua
+++ b/lua/pml68/plugins/guard.lua
@@ -8,7 +8,7 @@ return {
local ft = require("guard.filetype")
ft("c,cpp,h"):fmt("clang-format")
- ft("rust"):fmt("rustfmt")
+ ft("rust"):fmt("lsp")
ft("json"):fmt({
cmd = "jq",
stdin = true
diff --git a/spell/en.utf-8.add b/spell/en.utf-8.add
index 44dd949..a3a7570 100644
--- a/spell/en.utf-8.add
+++ b/spell/en.utf-8.add
@@ -9,3 +9,4 @@ suckless
Rosé
tmux
texlive
+aur
diff --git a/spell/en.utf-8.add.spl b/spell/en.utf-8.add.spl
index f956878..8b03803 100644
--- a/spell/en.utf-8.add.spl
+++ b/spell/en.utf-8.add.spl
Binary files differ