mirror of
https://github.com/stevenproctor/dotfiles.git
synced 2026-01-28 14:39:54 -06:00
Update lsp install plugins and fix treesitter search
This commit is contained in:
@@ -95,7 +95,7 @@
|
|||||||
|
|
||||||
(print "LSP Client Attached."))
|
(print "LSP Client Attached."))
|
||||||
|
|
||||||
(let [lspi (require :lspinstall)]
|
(let [lspi (require :nvim-lsp-installer)]
|
||||||
(when lspi
|
(when lspi
|
||||||
|
|
||||||
(defn lsp-execute-command [cmd ...]
|
(defn lsp-execute-command [cmd ...]
|
||||||
@@ -109,11 +109,14 @@
|
|||||||
:arguments args})))
|
:arguments args})))
|
||||||
|
|
||||||
(defn setup-servers []
|
(defn setup-servers []
|
||||||
(lspi.setup)
|
(lspi.on_server_ready (fn [server]
|
||||||
(let [lspconfig (require :lspconfig)
|
(let [opts {:on_attach on_attach :flags {:debounce_text_changes 150} }]
|
||||||
servers (lspi.installed_servers)]
|
(server:setup opts))))
|
||||||
(each [_ server (pairs servers)]
|
;; (let [lspconfig (require :lspconfig)
|
||||||
((. lspconfig server :setup) {:on_attach on_attach :flags {:debounce_text_changes 150} }))))
|
;; servers (lspi.get_installed_servers)]
|
||||||
|
;; (each [_ server (pairs servers)]
|
||||||
|
;; (server.setup {:on_attach on_attach :flags {:debounce_text_changes 150} })))
|
||||||
|
)
|
||||||
|
|
||||||
(defn on-post-install []
|
(defn on-post-install []
|
||||||
(setup-servers)
|
(setup-servers)
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
{:defaults
|
{:defaults
|
||||||
{:vimgrep_arguments ["ag" "--nocolor" "--noheading"
|
{:vimgrep_arguments ["ag" "--nocolor" "--noheading"
|
||||||
"--number" "--column" "--nobreak"
|
"--number" "--column" "--nobreak"
|
||||||
"--smart-case" "--hidden" "--follow" "--skip-vcs-ignores"
|
"--smart-case" "--hidden" "--follow" ; "--skip-vcs-ignores"
|
||||||
; "-g" "!.git/"
|
; "-g" "!.git/"
|
||||||
]}})
|
]}})
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,6 @@
|
|||||||
:hrsh7th/nvim-compe {:mod :compe} ; autocomplete
|
:hrsh7th/nvim-compe {:mod :compe} ; autocomplete
|
||||||
:jiangmiao/auto-pairs {} ; backets, parens, and quotes in pairs
|
:jiangmiao/auto-pairs {} ; backets, parens, and quotes in pairs
|
||||||
:junegunn/vim-easy-align {:mod :easyalign}
|
:junegunn/vim-easy-align {:mod :easyalign}
|
||||||
:kabouzeid/nvim-lspinstall {} ; NeoVim lsp server installs
|
|
||||||
:kovisoft/paredit {}
|
:kovisoft/paredit {}
|
||||||
:kristijanhusak/vim-dadbod-completion {}
|
:kristijanhusak/vim-dadbod-completion {}
|
||||||
:kristijanhusak/vim-dadbod-ui {}
|
:kristijanhusak/vim-dadbod-ui {}
|
||||||
@@ -63,6 +62,7 @@
|
|||||||
:tpope/vim-unimpaired {}
|
:tpope/vim-unimpaired {}
|
||||||
:tpope/vim-vinegar {}
|
:tpope/vim-vinegar {}
|
||||||
:wbthomason/packer.nvim {:mod :packer}
|
:wbthomason/packer.nvim {:mod :packer}
|
||||||
|
:williamboman/nvim-lsp-installer {} ; NeoVim lsp server installs
|
||||||
|
|
||||||
; :luochen1990/rainbow {}
|
; :luochen1990/rainbow {}
|
||||||
; :thecontinium/asyncomplete-conjure.vim {}
|
; :thecontinium/asyncomplete-conjure.vim {}
|
||||||
|
|||||||
Reference in New Issue
Block a user