mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-11-06 03:12:24 +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 []
|
(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.lsp.buf.formatting)
|
||||||
(vim.cmd "Neoformat")))
|
(vim.cmd "Neoformat")))
|
||||||
|
|
||||||
|
|
|
@ -131,10 +131,10 @@
|
||||||
|
|
||||||
:neovim/nvim-lspconfig {}
|
:neovim/nvim-lspconfig {}
|
||||||
|
|
||||||
:tami5/lspsaga.nvim {:after "vim-gruvbox8"
|
:glepnir/lspsaga.nvim {:after "vim-gruvbox8"
|
||||||
:opt false
|
:opt false
|
||||||
:branch "nvim6.0"
|
:branch "version_2.2"
|
||||||
:config #(require "dots.plugins.lspsaga")}
|
:config #(require "dots.plugins.lspsaga")}
|
||||||
|
|
||||||
; >>>
|
; >>>
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
;:decorator ["`" "`"]}))
|
;:decorator ["`" "`"]}))
|
||||||
|
|
||||||
;(req dots.utils.highlight :LspDiagnosticsUnderlineError {:gui "underline"})
|
;(req dots.utils.highlight :LspDiagnosticsUnderlineError {:gui "underline"})
|
||||||
(if client.resolved_capabilities.document_highlight
|
(if client.server_capabilities.documentHighlight
|
||||||
(do
|
(do
|
||||||
(utils.highlight "LspReferenceRead" {:gui "underline"})
|
(utils.highlight "LspReferenceRead" {:gui "underline"})
|
||||||
(utils.highlight "LspReferenceText" {:gui "underline"})
|
(utils.highlight "LspReferenceText" {:gui "underline"})
|
||||||
|
|
|
@ -7,11 +7,11 @@
|
||||||
|
|
||||||
(saga.init_lsp_saga
|
(saga.init_lsp_saga
|
||||||
{:border_style "single" ; single double round plus
|
{:border_style "single" ; single double round plus
|
||||||
:code_action_prompt {:enable true
|
:code_action_lightbulb {:enable true
|
||||||
:sign false
|
:sign false
|
||||||
:virtual_text false}
|
:virtual_text false}
|
||||||
:code_action_keys {:quit "<esc>" :exec "<CR>"}
|
:code_action_keys {:quit "<esc>" :exec "<CR>"}
|
||||||
:rename_action_keys {:quit "<esc>" :exec "<CR>"}
|
:rename_action_quit "<esc>"
|
||||||
:finder_action_keys {:quit "<esc>"
|
:finder_action_keys {:quit "<esc>"
|
||||||
:open "<CR>"
|
:open "<CR>"
|
||||||
:vsplit "v"
|
:vsplit "v"
|
||||||
|
|
|
@ -67,11 +67,6 @@
|
||||||
,r# (. data# (+ i# 1))]
|
,r# (. data# (+ i# 1))]
|
||||||
,...)))))
|
,...)))))
|
||||||
|
|
||||||
:if-let
|
|
||||||
(fn [[name value] ...]
|
|
||||||
`(let [,name ,value]
|
|
||||||
(when ,name ,...)))
|
|
||||||
|
|
||||||
:packer-use
|
:packer-use
|
||||||
(fn [...]
|
(fn [...]
|
||||||
(let [a (require "aniseed.core")
|
(let [a (require "aniseed.core")
|
||||||
|
|
Loading…
Reference in a new issue