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,12 +42,7 @@
(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])]}})
@ -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=<<<<<,>>>>>