diff --git a/nvim/.config/nvim/fnl/dots/plugins.fnl b/nvim/.config/nvim/fnl/dots/plugins.fnl index 49feef0..1c0a6e2 100644 --- a/nvim/.config/nvim/fnl/dots/plugins.fnl +++ b/nvim/.config/nvim/fnl/dots/plugins.fnl @@ -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"} diff --git a/nvim/.config/nvim/fnl/dots/plugins/coq-nvim.fnl b/nvim/.config/nvim/fnl/dots/plugins/coq-nvim.fnl index 43c1e5b..c6e7d40 100644 --- a/nvim/.config/nvim/fnl/dots/plugins/coq-nvim.fnl +++ b/nvim/.config/nvim/fnl/dots/plugins/coq-nvim.fnl @@ -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") diff --git a/nvim/.config/nvim/fnl/dots/plugins/lsp.fnl b/nvim/.config/nvim/fnl/dots/plugins/lsp.fnl index 9c02357..82342b7 100644 --- a/nvim/.config/nvim/fnl/dots/plugins/lsp.fnl +++ b/nvim/.config/nvim/fnl/dots/plugins/lsp.fnl @@ -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")] diff --git a/nvim/.config/nvim/fnl/dots/plugins/persistence.fnl b/nvim/.config/nvim/fnl/dots/plugins/persistence.fnl index 7f4aac3..12dac50 100644 --- a/nvim/.config/nvim/fnl/dots/plugins/persistence.fnl +++ b/nvim/.config/nvim/fnl/dots/plugins/persistence.fnl @@ -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/"))}) diff --git a/nvim/.config/nvim/fnl/init.fnl b/nvim/.config/nvim/fnl/init.fnl index c9259bb..499837a 100644 --- a/nvim/.config/nvim/fnl/init.fnl +++ b/nvim/.config/nvim/fnl/init.fnl @@ -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"}) diff --git a/xmonad/.xmonad/lib/Config.hs b/xmonad/.xmonad/lib/Config.hs index 6c93bb6..ab5787e 100644 --- a/xmonad/.xmonad/lib/Config.hs +++ b/xmonad/.xmonad/lib/Config.hs @@ -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 &"