Add vale_ls, disoutc snippet and enable all features for rust-analyzer
parent
cf93c050f7
commit
5922dd52b5
|
@ -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"
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue