mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-11-06 03:12:24 +00:00
asdf
This commit is contained in:
parent
0ab9b35a9b
commit
c1cb1aeff1
1 changed files with 7 additions and 5 deletions
|
@ -62,7 +62,7 @@
|
|||
((. lsp lsp-name :setup) merged-opts)))
|
||||
|
||||
(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"])})
|
||||
(init-lsp :hls {:settings {:languageServerHaskell {:formattingProvider "stylish-haskell"}}})
|
||||
(init-lsp :ocamllsp)
|
||||
(init-lsp :vimls)
|
||||
|
@ -82,6 +82,8 @@
|
|||
;(init-lsp :clangd)
|
||||
;(init-lsp :ccls)
|
||||
|
||||
(init-lsp :perlls)
|
||||
|
||||
|
||||
(init-lsp :powershell_es {:bundle_path "/home/leon/powershell"})
|
||||
;(ltex-ls.init)
|
||||
|
@ -100,10 +102,10 @@
|
|||
:less {:validate true}
|
||||
:scss {:validate true}}})
|
||||
|
||||
(lsp.tsserver.setup {:root_dir (lsp.util.root_pattern "package.json")
|
||||
:on_attach (fn [client bufnr]
|
||||
(set client.resolved_capabilities.document_formatting false)
|
||||
(on_attach client bufnr))})
|
||||
;(lsp.tsserver.setup {:root_dir (lsp.util.root_pattern "package.json")
|
||||
;:on_attach (fn [client bufnr]
|
||||
;(set client.resolved_capabilities.document_formatting false)
|
||||
;(on_attach client bufnr))})
|
||||
|
||||
|
||||
(let [rust-tools (require "rust-tools")
|
||||
|
|
Loading…
Reference in a new issue