Update stuff

This commit is contained in:
elkowar 2022-10-02 11:49:08 +02:00
parent 87520d4dc8
commit 0c11d35b61
No known key found for this signature in database
GPG key ID: E321AD71B1D1F27F
5 changed files with 10 additions and 15 deletions

View file

@ -41,7 +41,7 @@
(defn format []
(if (a.some #$1.resolved_capabilities.document_formatting (vim.lsp.get_active_clients))
(if (a.some #$1.server_capabilities.documentFormatting (vim.lsp.get_active_clients))
(vim.lsp.buf.formatting)
(vim.cmd "Neoformat")))

View file

@ -131,9 +131,9 @@
:neovim/nvim-lspconfig {}
:tami5/lspsaga.nvim {:after "vim-gruvbox8"
:glepnir/lspsaga.nvim {:after "vim-gruvbox8"
:opt false
:branch "nvim6.0"
:branch "version_2.2"
:config #(require "dots.plugins.lspsaga")}
; >>>

View file

@ -30,7 +30,7 @@
;:decorator ["`" "`"]}))
;(req dots.utils.highlight :LspDiagnosticsUnderlineError {:gui "underline"})
(if client.resolved_capabilities.document_highlight
(if client.server_capabilities.documentHighlight
(do
(utils.highlight "LspReferenceRead" {:gui "underline"})
(utils.highlight "LspReferenceText" {:gui "underline"})

View file

@ -7,11 +7,11 @@
(saga.init_lsp_saga
{:border_style "single" ; single double round plus
:code_action_prompt {:enable true
:code_action_lightbulb {:enable true
:sign false
:virtual_text false}
:code_action_keys {:quit "<esc>" :exec "<CR>"}
:rename_action_keys {:quit "<esc>" :exec "<CR>"}
:rename_action_quit "<esc>"
:finder_action_keys {:quit "<esc>"
:open "<CR>"
:vsplit "v"

View file

@ -67,11 +67,6 @@
,r# (. data# (+ i# 1))]
,...)))))
:if-let
(fn [[name value] ...]
`(let [,name ,value]
(when ,name ,...)))
:packer-use
(fn [...]
(let [a (require "aniseed.core")