Add vale_ls, disoutc snippet and enable all features for rust-analyzer

main
Ensar Sarajčić 2024-01-23 12:17:00 +01:00
parent cf93c050f7
commit 5922dd52b5
3 changed files with 7 additions and 0 deletions

View File

@ -69,6 +69,7 @@ local servers = {
"solang",
"terraformls",
"tsserver",
"vale_ls",
"vimls",
"zls",
}
@ -101,6 +102,7 @@ vim.g.rustaceanvim = {
},
cargo = {
loadOutDirsFromCheck = true,
features = "all"
},
},
},

View File

@ -12,6 +12,9 @@ luasnip.add_snippets("all", {
s("diso", { f(function(_, _)
return os.date("%Y-%m-%dT%H:%M:%S")
end) }),
s("disoutc", { f(function(_, _)
return os.date("!%Y-%m-%dT%H:%M:%SZ")
end) }),
})
require("luasnip.loaders.from_vscode").lazy_load()

View File

@ -36,5 +36,7 @@ export VISUAL=nvim
export ELIXIR_EDITOR="nvim"
export _JAVA_AWT_WM_NONREPARENTING=1
export ANDROID_HOME="$HOME/Android/Sdk"
alias vim="nvim"
alias vi="nvim"