yeet rust-tools for now

This commit is contained in:
elkowar 2021-05-09 13:44:23 +02:00
parent 17c81c5a30
commit 47a5426235
No known key found for this signature in database
GPG key ID: E321AD71B1D1F27F

View file

@ -42,13 +42,8 @@
(set capabilities.textDocument.completion.completionItem.snippetSupport true) (set capabilities.textDocument.completion.completionItem.snippetSupport true)
(set capabilities.textDocument.completion.completionItem.resolveSupport (set capabilities.textDocument.completion.completionItem.resolveSupport
{:properties ["documentation" "detail" "additionalTextEdits"]}) {:properties ["documentation" "detail" "additionalTextEdits"]})
(lsp.rust_analyzer.setup (init-lsp :rust_analyzer {:capabilities capabilities}))
{: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 :tsserver {:root_dir (lsp.util.root_pattern "package.json")}) (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 :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"])}) (init-lsp :denols {:root_dir (better_root_pattern [".git"] ["package.json"])})
@ -66,5 +61,8 @@
(set vim.o.signcolumn "yes") (set vim.o.signcolumn "yes")
;(let [rust-tools (require "rust-tools")]
;(rust-tools.setup {:tools {:inlay_hints {:show_parameter_hints false}}}))
; vim:foldmarker=<<<<<,>>>>> ; vim:foldmarker=<<<<<,>>>>>