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", "solang",
"terraformls", "terraformls",
"tsserver", "tsserver",
"vale_ls",
"vimls", "vimls",
"zls", "zls",
} }
@ -101,6 +102,7 @@ vim.g.rustaceanvim = {
}, },
cargo = { cargo = {
loadOutDirsFromCheck = true, loadOutDirsFromCheck = true,
features = "all"
}, },
}, },
}, },

View File

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

View File

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