mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-23 09:18:44 +02:00
add: default rust analizer config
This commit is contained in:
parent
b2404fbb67
commit
22202bc11b
4 changed files with 41 additions and 11 deletions
|
@ -52,11 +52,11 @@ _G.unique_list = function(list)
|
|||
end
|
||||
|
||||
-- run if rust config true
|
||||
if pcode.active_rust_config then
|
||||
table.insert(pcode.mason_ensure_installed, "rust_analyzer")
|
||||
table.insert(pcode.unregister_lsp, "rust_analyzer")
|
||||
table.insert(pcode.treesitter_ensure_installed, "rust")
|
||||
end
|
||||
-- if pcode.active_rust_config then
|
||||
-- table.insert(pcode.mason_ensure_installed, "rust_analyzer")
|
||||
-- table.insert(pcode.unregister_lsp, "rust_analyzer")
|
||||
-- table.insert(pcode.treesitter_ensure_installed, "rust")
|
||||
-- end
|
||||
-- run if javascript config true
|
||||
-- if pcode.active_javascript_config.active then
|
||||
-- local lst_ts = { "html", "javascript", "typescript", "tsx", "css", "json", "jsonc" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue