From c1cb1aeff154b0f2f5d57b57729262834830e8a2 Mon Sep 17 00:00:00 2001 From: elkowar <5300871+elkowar@users.noreply.github.com> Date: Mon, 25 Jul 2022 15:04:57 +0200 Subject: [PATCH] asdf --- nvim/.config/nvim/fnl/dots/plugins/lsp.fnl | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/nvim/.config/nvim/fnl/dots/plugins/lsp.fnl b/nvim/.config/nvim/fnl/dots/plugins/lsp.fnl index 79f6d09..c6fbf2e 100644 --- a/nvim/.config/nvim/fnl/dots/plugins/lsp.fnl +++ b/nvim/.config/nvim/fnl/dots/plugins/lsp.fnl @@ -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")