mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-11-06 03:12:24 +00:00
yeet rust-tools for now
This commit is contained in:
parent
17c81c5a30
commit
47a5426235
1 changed files with 5 additions and 7 deletions
|
@ -42,13 +42,8 @@
|
|||
(set capabilities.textDocument.completion.completionItem.snippetSupport true)
|
||||
(set capabilities.textDocument.completion.completionItem.resolveSupport
|
||||
{:properties ["documentation" "detail" "additionalTextEdits"]})
|
||||
(lsp.rust_analyzer.setup
|
||||
{:capabilities capabilities
|
||||
:on_attach (fn [...]
|
||||
(on_attach ...)
|
||||
(pkg rust-tools.nvim [rust-tools (require "rust-tools")]
|
||||
(rust-tools.setup { :tools { :inlay_hints { :show_parameter_hints false}}})))}))
|
||||
|
||||
(init-lsp :rust_analyzer {:capabilities capabilities}))
|
||||
|
||||
(init-lsp :tsserver {:root_dir (lsp.util.root_pattern "package.json")})
|
||||
(init-lsp :jsonls {:commands {:Format [ #(vim.lsp.buf.range_formatting [] [0 0] [(vim.fn.line "$") 0])]}})
|
||||
(init-lsp :denols {:root_dir (better_root_pattern [".git"] ["package.json"])})
|
||||
|
@ -66,5 +61,8 @@
|
|||
|
||||
(set vim.o.signcolumn "yes")
|
||||
|
||||
;(let [rust-tools (require "rust-tools")]
|
||||
;(rust-tools.setup {:tools {:inlay_hints {:show_parameter_hints false}}}))
|
||||
|
||||
|
||||
; vim:foldmarker=<<<<<,>>>>>
|
||||
|
|
Loading…
Reference in a new issue