mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-25 13:42:23 +00:00
Update stuff
This commit is contained in:
parent
87520d4dc8
commit
0c11d35b61
5 changed files with 10 additions and 15 deletions
|
@ -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")))
|
||||
|
||||
|
|
|
@ -131,10 +131,10 @@
|
|||
|
||||
:neovim/nvim-lspconfig {}
|
||||
|
||||
:tami5/lspsaga.nvim {:after "vim-gruvbox8"
|
||||
:opt false
|
||||
:branch "nvim6.0"
|
||||
:config #(require "dots.plugins.lspsaga")}
|
||||
:glepnir/lspsaga.nvim {:after "vim-gruvbox8"
|
||||
:opt false
|
||||
:branch "version_2.2"
|
||||
:config #(require "dots.plugins.lspsaga")}
|
||||
|
||||
; >>>
|
||||
|
||||
|
|
|
@ -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"})
|
||||
|
|
|
@ -7,11 +7,11 @@
|
|||
|
||||
(saga.init_lsp_saga
|
||||
{:border_style "single" ; single double round plus
|
||||
:code_action_prompt {:enable true
|
||||
:sign false
|
||||
:virtual_text false}
|
||||
: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"
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue