From 19d7ce7fa08d03db36f83ba398ee241f26ac0543 Mon Sep 17 00:00:00 2001 From: elkowar <5300871+elkowar@users.noreply.github.com> Date: Thu, 28 Oct 2021 11:45:07 +0200 Subject: [PATCH] Fic cmp and add powershell --- nvim/.config/nvim/fnl/dots/plugins.fnl | 2 +- nvim/.config/nvim/fnl/dots/plugins/cmp.fnl | 4 ++-- nvim/.config/nvim/fnl/dots/plugins/lsp.fnl | 9 +++++++++ 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/nvim/.config/nvim/fnl/dots/plugins.fnl b/nvim/.config/nvim/fnl/dots/plugins.fnl index 7064ddd..742bd99 100644 --- a/nvim/.config/nvim/fnl/dots/plugins.fnl +++ b/nvim/.config/nvim/fnl/dots/plugins.fnl @@ -115,7 +115,7 @@ ; lsp <<< :ray-x/lsp_signature.nvim {:events [:BufEnter]} - :weilbith/nvim-code-action-menu {:cmd ["CodeActionMenu"]} + :weilbith/nvim-code-action-menu {} :elkowar/trouble.nvim {:config #(require "dots.plugins.trouble") :cmd ["Trouble" "TroubleClose" "TroubleRefresh" "TroubleToggle"]} diff --git a/nvim/.config/nvim/fnl/dots/plugins/cmp.fnl b/nvim/.config/nvim/fnl/dots/plugins/cmp.fnl index 00ff313..f0526e5 100644 --- a/nvim/.config/nvim/fnl/dots/plugins/cmp.fnl +++ b/nvim/.config/nvim/fnl/dots/plugins/cmp.fnl @@ -20,8 +20,8 @@ :mapping {: (cmp.mapping.scroll_docs -4) : (cmp.mapping.scroll_docs 4) : (cmp.mapping.complete) - : #(do (cmp.mapping.close) (vim.cmd "stopinsert")) - : (cmp.mapping.confirm {:select true})} + : #(do (cmp.mapping.close) (vim.cmd "stopinsert"))} + ;: (cmp.mapping.confirm {:select true})} :experimental {:custom_menu true} diff --git a/nvim/.config/nvim/fnl/dots/plugins/lsp.fnl b/nvim/.config/nvim/fnl/dots/plugins/lsp.fnl index 6309fb6..c6da463 100644 --- a/nvim/.config/nvim/fnl/dots/plugins/lsp.fnl +++ b/nvim/.config/nvim/fnl/dots/plugins/lsp.fnl @@ -1,5 +1,6 @@ (module dots.plugins.lsp {autoload {a aniseed.core + str aniseed.string lsp lspconfig lsp-configs lspconfig/configs utils dots.utils @@ -70,6 +71,14 @@ (init-lsp :html) (init-lsp :svelte) (init-lsp :elmls) + +(init-lsp :powershell_es {:bundle_path "/home/leon/powershell"}) + + + + + +;(init-lsp :powershell_es {}) ;(init-lsp :clangd) ;(init-lsp :ccls)