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,12 +42,7 @@
|
||||||
(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])]}})
|
||||||
|
@ -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=<<<<<,>>>>>
|
||||||
|
|
Loading…
Reference in a new issue