mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-25 21:52:23 +00:00
Some vim changes
This commit is contained in:
parent
4516223a1e
commit
d752499dc3
6 changed files with 25 additions and 6 deletions
|
@ -155,8 +155,8 @@
|
|||
|
||||
;:bhurlow/vim-parinfer {:ft ["fennel" "carp" "lisp" "elisp"]}
|
||||
|
||||
;:eraserhd/parinfer-rust {:run "cargo build --release"}
|
||||
:/home/leon/coding/prs/parinfer-rust {}
|
||||
:eraserhd/parinfer-rust {:run "cargo build --release"}
|
||||
;:/home/leon/coding/prs/parinfer-rust {}
|
||||
;"elkowar/parinfer-rust" {:run "cargo build --release"
|
||||
;:branch "yuck"}
|
||||
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
{autoload {utils dots.utils
|
||||
coq coq}})
|
||||
|
||||
;(set vim.g.coq_settings {:limits.completion_auto_timeout 1})
|
||||
(set vim.g.coq_settings {:limits.completion_auto_timeout 1})
|
||||
|
||||
(vim.cmd "autocmd! InsertEnter * COQnow --shut-up")
|
||||
|
|
|
@ -9,6 +9,14 @@
|
|||
|
||||
; TODO check https://github.com/neovim/nvim-lspconfig/blob/master/ADVANCED_README.md for default config for all of them
|
||||
|
||||
(tset vim.lsp.handlers :textDocument/publishDiagnostics
|
||||
(vim.lsp.with vim.lsp.diagnostic.on_publish_diagnostics
|
||||
{:update_in_insert false
|
||||
:virtual_text {:prefix "◆"}
|
||||
:signs false}))
|
||||
|
||||
|
||||
|
||||
(fn on_attach [client bufnr]
|
||||
(pkg lsp_signature.nvim [lsp_signature (require "lsp_signature")]
|
||||
(lsp_signature.on_attach {:bind true
|
||||
|
@ -97,7 +105,8 @@
|
|||
(let [rust-tools (require "rust-tools")]
|
||||
(rust-tools.setup {:tools {:inlay_hints {:show_parameter_hints false}
|
||||
:autoSetHints false}
|
||||
:server {:on_attach on_attach}}))
|
||||
:server {:on_attach on_attach
|
||||
:cmd ["/home/leon/coding/prs/rust-analyzer/target/release/rust-analyzer"]}}))
|
||||
|
||||
(let [sumneko_root_path (.. vim.env.HOME "/.local/share/lua-language-server")
|
||||
sumneko_binary (.. sumneko_root_path "/bin/Linux/lua-language-server")]
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
{autoload {persistence persistence}})
|
||||
|
||||
(persistence.setup
|
||||
{:dir (vim.fn.expand (. (vim.fn.stdpath "cache") "/sessions/"))})
|
||||
{:dir (vim.fn.expand (.. (vim.fn.stdpath "cache") "/sessions/"))})
|
||||
|
|
|
@ -64,6 +64,8 @@
|
|||
(set vim.opt.swapfile false)
|
||||
(set vim.opt.undolevels 10000)
|
||||
|
||||
(set vim.g.AutoPairsMultilineClose 0)
|
||||
|
||||
(vim-let &t_ut "")
|
||||
|
||||
(vim.cmd "autocmd! BufReadPost *.hs :set shiftwidth=2")
|
||||
|
@ -104,6 +106,14 @@
|
|||
(utils.highlight-add
|
||||
[:LspDiagnosticsSignError :LspDiagnosticsSignWarning :LspDiagnosticsSignInformation :LspDiagnosticsSignHint]
|
||||
{:bg "NONE"})
|
||||
|
||||
(utils.highlight-add :LspDiagnosticsDefaultError {:bg "#342828"})
|
||||
(utils.highlight-add :LspDiagnosticsDefaultWarning {:bg "#473027"})
|
||||
(utils.highlight-add :LspDiagnosticsDefaultWarning {:bg "#3b2c28"})
|
||||
(utils.highlight-add :LspDiagnosticsDefaultInformation {:bg "#272d2f"})
|
||||
|
||||
(utils.highlight-add :LspDiagnosticsDefaultHint {:bg "#272d2f"})
|
||||
|
||||
(utils.highlight :LspDiagnosticsUnderlineError {:gui "undercurl"})
|
||||
|
||||
|
||||
|
|
|
@ -276,7 +276,7 @@ myStartupHook = do
|
|||
spawnOnce "xrdb -merge ~/.Xresources"
|
||||
io $ threadDelay $ 1000 * 100
|
||||
--spawnOnce "/home/leon/Downloads/picom --config /home/leon/.config/picom.conf --experimental-backends --backend xrender" --no-fading-openclose"
|
||||
spawnOnce "/home/leon/Downloads/picom-epic-animations --config /home/leon/.config/picom.conf --experimental-backends --animations --anomation-stiffness 200 --animation-dampening 20" --backend glx" --no-fading-openclose"
|
||||
spawnOnce "/home/leon/Downloads/picom-epic-animations --config /home/leon/.config/picom.conf --experimental-backends --animations --animation-stiffness 200 --animation-dampening 20" --backend glx" --no-fading-openclose"
|
||||
--spawn "/home/leon/.config/polybar/launch.sh"
|
||||
setupPolybarOn "DisplayPort-0"
|
||||
spawnOnce "eww -c /home/leon/.config/eww-bar open-many bar_2 bar_1 &"
|
||||
|
|
Loading…
Reference in a new issue