From 842c435e33b0b31df9d642955431d61b961b1abd Mon Sep 17 00:00:00 2001 From: Tovi Jaeschke-Rogers Date: Thu, 25 Jul 2024 18:00:55 +0930 Subject: [PATCH 1/2] fix: remove noice --- .config/nvim/lua/tovi/plugins/noice.lua | 55 ------------------------- 1 file changed, 55 deletions(-) delete mode 100644 .config/nvim/lua/tovi/plugins/noice.lua diff --git a/.config/nvim/lua/tovi/plugins/noice.lua b/.config/nvim/lua/tovi/plugins/noice.lua deleted file mode 100644 index 926addc..0000000 --- a/.config/nvim/lua/tovi/plugins/noice.lua +++ /dev/null @@ -1,55 +0,0 @@ -return { - "folke/noice.nvim", - event = "VeryLazy", - dependencies = { - "MunifTanjim/nui.nvim", - "rcarriga/nvim-notify", - }, - opts = { - routes = { - { - filter = { - event = "msg_show", - kind = "", - find = "written", - }, - opts = { skip = true }, - }, - { - filter = { - event = "msg_show", - kind = "", - find = "fewer line", - }, - opts = { skip = true }, - }, - { - filter = { - event = "msg_show", - kind = "", - find = "more line", - }, - opts = { skip = true }, - }, - { - filter = { - event = "msg_show", - kind = "search_count", - }, - opts = { skip = true }, - }, - }, - views = { - cmdline_popup = { - border = { - style = "none", - padding = { 2, 3 }, - }, - filter_options = {}, - win_options = { - winhighlight = "NormalFloat:NormalFloat,FloatBorder:FloatBorder", - }, - }, - }, - }, -} From 77eb4bd4a8fc1a78ba9d4346999a56e6d56ef432 Mon Sep 17 00:00:00 2001 From: Tovi Jaeschke-Rogers Date: Fri, 16 Aug 2024 10:27:12 +0930 Subject: [PATCH 2/2] feat: add rust and latex stuff --- .config/nvim/lua/tovi/plugins/lspconfig.lua | 11 ++--------- .config/nvim/lua/tovi/plugins/nvim-treesitter.lua | 2 ++ .local/bin/tmux-sessionizer | 2 +- .zshrc | 2 ++ 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.config/nvim/lua/tovi/plugins/lspconfig.lua b/.config/nvim/lua/tovi/plugins/lspconfig.lua index 0c1e8e1..f2a4924 100644 --- a/.config/nvim/lua/tovi/plugins/lspconfig.lua +++ b/.config/nvim/lua/tovi/plugins/lspconfig.lua @@ -225,15 +225,8 @@ return { }, rust_analyzer = { - settings = { - ["rust-analyzer"] = { - cargo = { - features = { - "client", - "server", - }, - }, - }, + diagnostics = { + enable = false, }, }, } diff --git a/.config/nvim/lua/tovi/plugins/nvim-treesitter.lua b/.config/nvim/lua/tovi/plugins/nvim-treesitter.lua index cedef10..989ad72 100644 --- a/.config/nvim/lua/tovi/plugins/nvim-treesitter.lua +++ b/.config/nvim/lua/tovi/plugins/nvim-treesitter.lua @@ -29,12 +29,14 @@ return { "dockerfile", "gitignore", "php", + "latex", }, -- auto install above language parsers auto_install = true, -- enable syntax highlighting highlight = { enable = true, + disable = { "latex" } }, -- enable indentation indent = { enable = true }, diff --git a/.local/bin/tmux-sessionizer b/.local/bin/tmux-sessionizer index 0ca0050..1c22018 100755 --- a/.local/bin/tmux-sessionizer +++ b/.local/bin/tmux-sessionizer @@ -3,7 +3,7 @@ if [[ $# -eq 1 ]]; then selected=$1 else - selected=$(find ~/Projects ~/go/src/git.tovijaeschke.xyz ~/ -mindepth 1 -maxdepth 1 -type d | fzf) + selected=$(find ~/Projects ~/go/src/git.tovijaeschke.xyz ~/go/src/git.tovijaeschke.xyz/tovi/ ~/ -mindepth 1 -maxdepth 1 -type d | fzf) fi if [[ -z $selected ]]; then diff --git a/.zshrc b/.zshrc index 3e801df..7695f56 100644 --- a/.zshrc +++ b/.zshrc @@ -21,6 +21,8 @@ export EDITOR=nvim export GIT_EDITOR=nvim export PATH="${HOME}/.local/bin/:${HOME}/go/bin:${HOME}/.cargo/bin:${PATH}" +export DOCKER_DEFAULT_PLATFORM=linux/amd64 + # Enable substitution in the prompt. setopt prompt_subst