mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-25 13:42:23 +00:00
Actually fix lazy stuff
This commit is contained in:
parent
8ea1a7e4ff
commit
133c46fe96
2 changed files with 73 additions and 58 deletions
|
@ -55,7 +55,8 @@
|
|||
:luukvbaal/stabilize.nvim {:config #(setup :stabilize)}
|
||||
|
||||
:tweekmonster/startuptime.vim {:cmd ["StartupTime"]}
|
||||
:folke/noice.nvim {:config #(setup :noice {:presets {:inc_rename true}})
|
||||
:folke/noice.nvim {:lazy true
|
||||
:config #(setup :noice {:presets {:inc_rename true}})
|
||||
:dependencies [:MunifTanjim/nui.nvim]}
|
||||
:folke/persistence.nvim {:config #(require "dots.plugins.persistence")}
|
||||
:folke/zen-mode.nvim {:config #(require "dots.plugins.zen-mode")
|
||||
|
@ -75,9 +76,10 @@
|
|||
:tpope/vim-surround {}
|
||||
:hauleth/sad.vim {}
|
||||
:wellle/targets.vim {} ; more text objects. IE: cin (change in next parens). generally better handling of surrounding objects.
|
||||
:mg979/vim-visual-multi {}
|
||||
:mg979/vim-visual-multi {:lazy true}
|
||||
:tommcdo/vim-exchange {}
|
||||
:justinmk/vim-sneak {:config #(require "dots.plugins.sneak")}
|
||||
:justinmk/vim-sneak {:lazy true
|
||||
:config #(require "dots.plugins.sneak")}
|
||||
; >>>
|
||||
|
||||
; treesitter <<<
|
||||
|
@ -93,10 +95,12 @@
|
|||
; >>>
|
||||
|
||||
; debugger <<<
|
||||
:rcarriga/nvim-dap-ui {:config #(setup :dapui)
|
||||
:rcarriga/nvim-dap-ui {:lazy true
|
||||
:config #(setup :dapui)
|
||||
:dependencies [:mfussenegger/nvim-dap]}
|
||||
:mfussenegger/nvim-dap {}
|
||||
:nvim-telescope/telescope-dap.nvim {:dependencies [:nvim-telescope/telescope.nvim
|
||||
:mfussenegger/nvim-dap {:lazy true}
|
||||
:nvim-telescope/telescope-dap.nvim {:lazy true
|
||||
:dependencies [:nvim-telescope/telescope.nvim
|
||||
:mfussenegger/nvim-dap]}
|
||||
|
||||
|
||||
|
@ -104,17 +108,20 @@
|
|||
; >>>
|
||||
|
||||
; git stuff <<<
|
||||
:ldelossa/gh.nvim {:config #(do ((. (require "litee.lib") :setup))
|
||||
:ldelossa/gh.nvim {:lazy true
|
||||
:config #(do ((. (require "litee.lib") :setup))
|
||||
((. (require "litee.gh") :setup)))
|
||||
:dependencies [:ldelossa/litee.nvim]}
|
||||
:pwntester/octo.nvim {:dependencies [:nvim-lua/plenary.nvim
|
||||
:pwntester/octo.nvim {:lazy true
|
||||
:dependencies [:nvim-lua/plenary.nvim
|
||||
:nvim-telescope/telescope.nvim
|
||||
:kyazdani42/nvim-web-devicons]
|
||||
:config #(setup :octo)}
|
||||
:sindrets/diffview.nvim {:cmd ["DiffviewOpen" "DiffviewToggleFiles"]
|
||||
:config #(require "dots.plugins.diffview")}
|
||||
|
||||
:lewis6991/gitsigns.nvim {:dependencies [:vim-gruvbox8]
|
||||
:lewis6991/gitsigns.nvim {:lazy true
|
||||
:dependencies [:vim-gruvbox8]
|
||||
:config #(require "dots.plugins.gitsigns")}
|
||||
|
||||
:ruanyl/vim-gh-line {}
|
||||
|
@ -140,15 +147,17 @@
|
|||
:neovim/nvim-lspconfig {}
|
||||
|
||||
:smjonas/inc-rename.nvim {:config #(setup :inc_rename)}
|
||||
:dnlhc/glance.nvim {:config #(require "dots.plugins.glance")}
|
||||
:dnlhc/glance.nvim {:lazy true
|
||||
:config #(require "dots.plugins.glance")}
|
||||
; >>>
|
||||
|
||||
; cmp <<<
|
||||
:hrsh7th/vim-vsnip {}
|
||||
:hrsh7th/vim-vsnip-integ {}
|
||||
:hrsh7th/vim-vsnip {:lazy true}
|
||||
:hrsh7th/vim-vsnip-integ {:lazy true}
|
||||
:rafamadriz/friendly-snippets {}
|
||||
|
||||
:hrsh7th/nvim-cmp {:dependencies [[:hrsh7th/cmp-nvim-lsp]
|
||||
:hrsh7th/nvim-cmp {:lazy true
|
||||
:dependencies [[:hrsh7th/cmp-nvim-lsp]
|
||||
[:hrsh7th/cmp-buffer]
|
||||
[:hrsh7th/cmp-vsnip]
|
||||
[:hrsh7th/cmp-nvim-lua]
|
||||
|
@ -171,7 +180,8 @@
|
|||
:Olical/conjure {:ft ["fennel"]}
|
||||
:eraserhd/parinfer-rust {:build "cargo build --release"}
|
||||
|
||||
:lervag/vimtex {:config #(require :dots.plugins.vimtex)}
|
||||
:lervag/vimtex {:ft ["latex" "tex"]
|
||||
:config #(require :dots.plugins.vimtex)}
|
||||
:kmonad/kmonad-vim {}
|
||||
:elkowar/yuck.vim {:ft ["yuck"]}
|
||||
:cespare/vim-toml {:ft ["toml"]}
|
||||
|
@ -183,19 +193,19 @@
|
|||
:leafgarland/typescript-vim {:ft ["typescript" "typescript-react" "javascript"]}
|
||||
:HerringtonDarkholme/yats.vim {} ; typescript syntax highlighting
|
||||
:mxw/vim-jsx {}
|
||||
:mattn/emmet-vim {:config #(require "dots.plugins.emmet")}
|
||||
:mattn/emmet-vim {:lazy true
|
||||
:config #(require "dots.plugins.emmet")}
|
||||
:purescript-contrib/purescript-vim {:ft ["purescript"]}
|
||||
:derekelkins/agda-vim {:ft ["agda"]}
|
||||
:neovimhaskell/haskell-vim { :ft ["haskell"]}
|
||||
:stewy33/mercury-vim {}
|
||||
:ionide/Ionide-vim {}
|
||||
|
||||
|
||||
:rust-lang/rust.vim {:ft ["rust"]
|
||||
:dependencies ["mattn/webapi-vim"]
|
||||
:config #(do (set vim.g.rustfmt_fail_silently 1))}
|
||||
|
||||
:simrat39/rust-tools.nvim {:dependencies ["nvim-lua/popup.nvim" "nvim-lua/plenary.nvim"]}
|
||||
:simrat39/rust-tools.nvim {:ft ["rust" "toml"]
|
||||
:dependencies ["nvim-lua/popup.nvim" "nvim-lua/plenary.nvim"]}
|
||||
|
||||
:Saecki/crates.nvim {:dependencies ["nvim-lua/plenary.nvim"]
|
||||
:event ["BufRead Cargo.toml"]
|
||||
|
|
|
@ -14,50 +14,55 @@
|
|||
|
||||
(utils.keymap :n :<C-p> ":Telescope find_files<CR>")
|
||||
|
||||
(def prompt "blacker")
|
||||
(if
|
||||
(= prompt "bright")
|
||||
(let [promptbg "#689d6a"]
|
||||
(utils.highlight-add :TelescopePromptBorder {:bg promptbg :fg promptbg})
|
||||
(utils.highlight-add :TelescopePromptNormal {:bg promptbg :fg colors.dark0})
|
||||
(utils.highlight-add :TelescopePromptTitle {:bg promptbg :fg colors.dark1}))
|
||||
(defn setup-telescope-theme []
|
||||
(def prompt "blacker")
|
||||
(if
|
||||
(= prompt "bright")
|
||||
(let [promptbg "#689d6a"]
|
||||
(utils.highlight-add :TelescopePromptBorder {:bg promptbg :fg promptbg})
|
||||
(utils.highlight-add :TelescopePromptNormal {:bg promptbg :fg colors.dark0})
|
||||
(utils.highlight-add :TelescopePromptTitle {:bg promptbg :fg colors.dark1}))
|
||||
|
||||
(= prompt "dark")
|
||||
(let [promptbg "#252525"]
|
||||
(utils.highlight-add :TelescopePromptBorder {:bg promptbg :fg promptbg})
|
||||
(utils.highlight-add :TelescopePromptNormal {:bg promptbg :fg colors.light2})
|
||||
(utils.highlight-add :TelescopePromptPrefix {:bg promptbg :fg colors.neutral_aqua})
|
||||
(utils.highlight-add :TelescopePromptTitle {:bg colors.neutral_blue :fg colors.dark1}))
|
||||
(= prompt "dark")
|
||||
(let [promptbg "#252525"]
|
||||
(utils.highlight-add :TelescopePromptBorder {:bg promptbg :fg promptbg})
|
||||
(utils.highlight-add :TelescopePromptNormal {:bg promptbg :fg colors.light2})
|
||||
(utils.highlight-add :TelescopePromptPrefix {:bg promptbg :fg colors.neutral_aqua})
|
||||
(utils.highlight-add :TelescopePromptTitle {:bg colors.neutral_blue :fg colors.dark1}))
|
||||
|
||||
(= prompt "black")
|
||||
(let [promptbg "#212526"]
|
||||
(utils.highlight-add :TelescopePromptBorder {:bg promptbg :fg promptbg})
|
||||
(utils.highlight-add :TelescopePromptNormal {:bg promptbg :fg colors.light2})
|
||||
(utils.highlight-add :TelescopePromptPrefix {:bg promptbg :fg colors.neutral_aqua})
|
||||
(utils.highlight-add :TelescopePromptTitle {:bg colors.neutral_green :fg colors.dark1}))
|
||||
(= prompt "black")
|
||||
(let [promptbg "#212526"]
|
||||
(utils.highlight-add :TelescopePromptBorder {:bg promptbg :fg promptbg})
|
||||
(utils.highlight-add :TelescopePromptNormal {:bg promptbg :fg colors.light2})
|
||||
(utils.highlight-add :TelescopePromptPrefix {:bg promptbg :fg colors.neutral_aqua})
|
||||
(utils.highlight-add :TelescopePromptTitle {:bg colors.neutral_green :fg colors.dark1}))
|
||||
|
||||
(= prompt "blacker")
|
||||
(let [promptbg "#1f2324"]
|
||||
(utils.highlight-add :TelescopePromptBorder {:bg promptbg :fg promptbg})
|
||||
(utils.highlight-add :TelescopePromptNormal {:bg promptbg :fg colors.light2})
|
||||
(utils.highlight-add :TelescopePromptPrefix {:bg promptbg :fg colors.neutral_aqua})
|
||||
(utils.highlight-add :TelescopePromptTitle {:bg colors.neutral_blue :fg colors.dark1})))
|
||||
(= prompt "blacker")
|
||||
(let [promptbg "#1f2324"]
|
||||
(utils.highlight-add :TelescopePromptBorder {:bg promptbg :fg promptbg})
|
||||
(utils.highlight-add :TelescopePromptNormal {:bg promptbg :fg colors.light2})
|
||||
(utils.highlight-add :TelescopePromptPrefix {:bg promptbg :fg colors.neutral_aqua})
|
||||
(utils.highlight-add :TelescopePromptTitle {:bg colors.neutral_blue :fg colors.dark1})))
|
||||
|
||||
(def side "darker")
|
||||
(if
|
||||
(= side "brighter")
|
||||
(let [previewbg "#1f2324"]
|
||||
(utils.highlight-add :TelescopePreviewNormal {:bg previewbg})
|
||||
(utils.highlight-add :TelescopePreviewBorder {:bg previewbg :fg previewbg}))
|
||||
(def side "darker")
|
||||
(if
|
||||
(= side "brighter")
|
||||
(let [previewbg "#1f2324"]
|
||||
(utils.highlight-add :TelescopePreviewNormal {:bg previewbg})
|
||||
(utils.highlight-add :TelescopePreviewBorder {:bg previewbg :fg previewbg}))
|
||||
|
||||
(= side "darker")
|
||||
(let [previewbg "#1a1e1f"]
|
||||
(utils.highlight-add :TelescopePreviewNormal {:bg previewbg})
|
||||
(utils.highlight-add :TelescopePreviewBorder {:bg previewbg :fg previewbg})))
|
||||
(= side "darker")
|
||||
(let [previewbg "#1a1e1f"]
|
||||
(utils.highlight-add :TelescopePreviewNormal {:bg previewbg})
|
||||
(utils.highlight-add :TelescopePreviewBorder {:bg previewbg :fg previewbg})))
|
||||
|
||||
(utils.highlight-add :TelescopeBorder {:bg colors.dark0_hard :fg colors.dark0_hard})
|
||||
(utils.highlight-add :TelescopeNormal {:bg colors.dark0_hard})
|
||||
(utils.highlight-add :TelescopePreviewTitle {:bg colors.neutral_green :fg colors.dark1})
|
||||
(utils.highlight-add :TelescopeResultsTitle {:bg colors.neutral_aqua :fg colors.dark1})
|
||||
(utils.highlight-add :TelescopeBorder {:bg colors.dark0_hard :fg colors.dark0_hard})
|
||||
(utils.highlight-add :TelescopeNormal {:bg colors.dark0_hard})
|
||||
(utils.highlight-add :TelescopePreviewTitle {:bg colors.neutral_green :fg colors.dark1})
|
||||
(utils.highlight-add :TelescopeResultsTitle {:bg colors.neutral_aqua :fg colors.dark1})
|
||||
|
||||
(utils.highlight-add :TelescopeSelection {:bg colors.neutral_aqua :fg colors.dark1}))
|
||||
|
||||
; TODO this is the hackiest thing I've ever done
|
||||
(vim.defer_fn setup-telescope-theme 50)
|
||||
|
||||
(utils.highlight-add :TelescopeSelection {:bg colors.neutral_aqua :fg colors.dark1})
|
||||
|
|
Loading…
Reference in a new issue