Fic cmp and add powershell

This commit is contained in:
elkowar 2021-10-28 11:45:07 +02:00
parent 9fcad51633
commit 19d7ce7fa0
No known key found for this signature in database
GPG key ID: E321AD71B1D1F27F
3 changed files with 12 additions and 3 deletions

View file

@ -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"]}

View file

@ -20,8 +20,8 @@
:mapping {:<C-d> (cmp.mapping.scroll_docs -4)
:<C-f> (cmp.mapping.scroll_docs 4)
:<C-space> (cmp.mapping.complete)
:<esc> #(do (cmp.mapping.close) (vim.cmd "stopinsert"))
:<CR> (cmp.mapping.confirm {:select true})}
:<esc> #(do (cmp.mapping.close) (vim.cmd "stopinsert"))}
;:<CR> (cmp.mapping.confirm {:select true})}
:experimental {:custom_menu true}

View file

@ -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)