commit ae370c396795b635ee70b2e29c88bffebd13d79f
parent 328c9d0558f489f93cb178f2502129ae1dc19c19
Author: Milutin Popovic <milutin@popovic.xyz>
Date: Thu, 5 Mar 2026 16:48:47 +0100
update
Diffstat:
3 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/.config/git/config b/.config/git/config
@@ -4,8 +4,13 @@
[init]
defaultBranch = main
[credential "https://github.com"]
- helper =
+ helper =
helper = !/usr/bin/gh auth git-credential
[credential "https://gist.github.com"]
- helper =
+ helper =
helper = !/usr/bin/gh auth git-credential
+[filter "lfs"]
+ clean = git-lfs clean -- %f
+ smudge = git-lfs smudge -- %f
+ process = git-lfs filter-process
+ required = true
diff --git a/.config/nvim/lua/config/autocmd.lua b/.config/nvim/lua/config/autocmd.lua
@@ -48,7 +48,7 @@ autocmd({'BufWritePost'}, {
-- Convert two spaces to tabs in router folder
autocmd({'BufWritePre'}, {
- pattern = '*/router/*',
+ pattern = '*/router/*.ts',
callback = function()
vim.cmd([[%s/ /\t/ge]])
end,
@@ -56,7 +56,7 @@ autocmd({'BufWritePre'}, {
-- Convert tabs to two spaces on buf enter
autocmd({'BufEnter'}, {
- pattern = '*/router/*',
+ pattern = '*/router/*.ts',
callback = function()
vim.cmd([[%s/\t/ /ge]])
end,
@@ -64,7 +64,7 @@ autocmd({'BufEnter'}, {
-- Convert double qotes to single qotes on save
autocmd({'BufWritePre'}, {
- pattern = '*/router/*',
+ pattern = '*/router/*.ts',
callback = function()
vim.cmd([[%s/"/'/ge]])
end,
diff --git a/.config/nvim/lua/plugins/rustacean.lua b/.config/nvim/lua/plugins/rustacean.lua
@@ -1,6 +1,6 @@
return {
'mrcjkb/rustaceanvim',
- version = '^6',
+ version = '^8',
lazy = false,
dependencies = {
"mason-org/mason-registry",
@@ -38,6 +38,7 @@ return {
enable = true;
},
cargo = {
+ loadOutDirsFromCheck = true,
allFeatures = true,
},
},