mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-11-06 03:12:24 +00:00
Clean up some plugins
This commit is contained in:
parent
42e59d028c
commit
7cd882157c
3 changed files with 99 additions and 126 deletions
|
@ -23,112 +23,60 @@
|
||||||
:config {:compile_path (.. (vim.fn.stdpath "config") "/lua/packer_compiled.lua")}})))
|
:config {:compile_path (.. (vim.fn.stdpath "config") "/lua/packer_compiled.lua")}})))
|
||||||
|
|
||||||
(use
|
(use
|
||||||
:jbyuki/instant.nvim {:config #(set vim.g.instant_username "ElKowar")}
|
; sort me pls
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
; sorted from here!
|
||||||
|
:Olical/aniseed {:branch "develop"}
|
||||||
:lewis6991/impatient.nvim {}
|
:lewis6991/impatient.nvim {}
|
||||||
:rhysd/conflict-marker.vim {}
|
|
||||||
:nvim-lua/plenary.nvim {}
|
:nvim-lua/plenary.nvim {}
|
||||||
:elkowar/antifennel-nvim {:opt false :config #(set vim.g.antifennel_executable "/home/leon/tmp/antifennel/antifennel")}
|
:norcalli/nvim.lua {}
|
||||||
:elkowar/kmonad.vim {}
|
:lifepillar/vim-gruvbox8 {:opt false :config #(require "dots.plugins.gruvbox8")}
|
||||||
|
|
||||||
:ruanyl/vim-gh-line {}
|
|
||||||
:rhysd/conflict-marker.vim {}
|
|
||||||
:wellle/visual-split.vim {}
|
|
||||||
:sindrets/diffview.nvim {}
|
|
||||||
:folke/persistence.nvim {:opt false :config #(require "dots.plugins.persistence")}
|
|
||||||
|
|
||||||
:folke/zen-mode.nvim {:cmd ["ZenMode"]
|
|
||||||
:config #(require "dots.plugins.zen-mode")}
|
|
||||||
|
|
||||||
:folke/twilight.nvim {:config #(require "dots.plugins.twilight")}
|
|
||||||
|
|
||||||
:TimUntersberger/neogit {:config #(require "dots.plugins.neogit")
|
|
||||||
:cmd ["Neogit"]}
|
|
||||||
|
|
||||||
|
|
||||||
:lifepillar/vim-gruvbox8 {:opt false
|
|
||||||
:config
|
|
||||||
(fn []
|
|
||||||
(set vim.g.gruvbox_italics 0)
|
|
||||||
(set vim.g.gruvbox_italicise_strings 0)
|
|
||||||
(set vim.g.gruvbox_filetype_hi_groups 1)
|
|
||||||
(set vim.g.gruvbox_plugin_hi_groups 1)
|
|
||||||
(vim.cmd "colorscheme gruvbox8")
|
|
||||||
((. (require :dots.utils) :highlight) :SignColumn {:bg (. (require :dots.colors) :dark0)}))}
|
|
||||||
;(req dots.utils.highlight :SignColumn {:bg (. (require :dots.colors) :dark0)}))}
|
|
||||||
;(req dots.utils.highlight :LspDiagnosticsUnderlineError {:gui "underline"}))}
|
|
||||||
|
|
||||||
|
|
||||||
:nvim-telescope/telescope.nvim {:config #(require "dots.plugins.telescope")
|
|
||||||
:cmd ["Telescope"]
|
|
||||||
:requires [:nvim-lua/popup.nvim
|
|
||||||
:nvim-lua/plenary.nvim]}
|
|
||||||
|
|
||||||
|
|
||||||
:nvim-telescope/telescope-packer.nvim {}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
:kyazdani42/nvim-web-devicons {}
|
:kyazdani42/nvim-web-devicons {}
|
||||||
|
|
||||||
|
:folke/which-key.nvim {}
|
||||||
|
:Famiu/feline.nvim {:opt false :config #(require "dots.plugins.feline")}
|
||||||
|
:akinsho/nvim-bufferline.lua {:opt false :config #(require "dots.plugins.bufferline")}
|
||||||
|
|
||||||
|
:psliwka/vim-smoothie {}
|
||||||
|
:norcalli/nvim-colorizer.lua {:opt false :config #(require "dots.plugins.nvim-colorizer")}
|
||||||
|
:nathanaelkane/vim-indent-guides {:cmd ["IndentGuidesToggle"]}
|
||||||
|
|
||||||
|
:tweekmonster/startuptime.vim {:cmd ["StartupTime"]}
|
||||||
|
:folke/persistence.nvim {:opt false :config #(require "dots.plugins.persistence")}
|
||||||
|
:folke/zen-mode.nvim {:cmd ["ZenMode"] :config #(require "dots.plugins.zen-mode")}
|
||||||
|
:folke/twilight.nvim {:config #(require "dots.plugins.twilight")}
|
||||||
|
:nvim-telescope/telescope.nvim {:config #(require "dots.plugins.telescope")
|
||||||
|
:cmd ["Telescope"]
|
||||||
|
:requires [:nvim-lua/popup.nvim :nvim-lua/plenary.nvim]}
|
||||||
|
|
||||||
|
; editing and movement <<<
|
||||||
|
:jiangmiao/auto-pairs {}
|
||||||
|
:tpope/vim-repeat {}
|
||||||
|
:preservim/nerdcommenter {}
|
||||||
|
:godlygeek/tabular {:cmd ["Tabularize"]}
|
||||||
|
: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 {}
|
||||||
|
:tommcdo/vim-exchange {}
|
||||||
|
:justinmk/vim-sneak {:opt false :config #(require "dots.plugins.sneak")}
|
||||||
|
; >>>
|
||||||
|
|
||||||
|
; treesitter <<<
|
||||||
:nvim-treesitter/nvim-treesitter {:config #(require "dots.plugins.treesitter")
|
:nvim-treesitter/nvim-treesitter {:config #(require "dots.plugins.treesitter")
|
||||||
:event ["BufEnter"]
|
:event ["BufEnter"]
|
||||||
:run ":TSUpdate"}
|
:run ":TSUpdate"}
|
||||||
|
|
||||||
|
|
||||||
:JoosepAlviste/nvim-ts-context-commentstring {:event ["BufEnter"]
|
:JoosepAlviste/nvim-ts-context-commentstring {:event ["BufEnter"]
|
||||||
:requires [:nvim-treesitter/nvim-treesitter]}
|
:requires [:nvim-treesitter/nvim-treesitter]}
|
||||||
|
|
||||||
:nvim-treesitter/playground {:event ["BufEnter"]
|
:nvim-treesitter/playground {:event ["BufEnter"]
|
||||||
:requires [:nvim-treesitter/nvim-treesitter]}
|
:requires [:nvim-treesitter/nvim-treesitter]}
|
||||||
:jiangmiao/auto-pairs {}
|
; >>>
|
||||||
|
|
||||||
:folke/which-key.nvim {}
|
; debugger <<<
|
||||||
|
|
||||||
:Olical/aniseed {:branch "develop"}
|
|
||||||
|
|
||||||
:norcalli/nvim.lua {}
|
|
||||||
|
|
||||||
:Famiu/feline.nvim {:opt false :config #(require "dots.plugins.feline")}
|
|
||||||
:akinsho/nvim-bufferline.lua {:opt false :config #(require "dots.plugins.bufferline")}
|
|
||||||
|
|
||||||
:sindrets/diffview.nvim {:cmd ["DiffviewOpen" "DiffviewToggleFiles"]
|
|
||||||
:config #(require "dots.plugins.diffview")}
|
|
||||||
|
|
||||||
:tweekmonster/startuptime.vim {:cmd ["StartupTime"]}
|
|
||||||
|
|
||||||
:tpope/vim-repeat {}
|
|
||||||
|
|
||||||
|
|
||||||
:lewis6991/gitsigns.nvim {:after ["vim-gruvbox8"]
|
|
||||||
:opt false
|
|
||||||
:config #(require "dots.plugins.gitsigns")}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
:tpope/vim-fugitive {}
|
|
||||||
|
|
||||||
:preservim/nerdcommenter {}
|
|
||||||
|
|
||||||
:godlygeek/tabular {:cmd ["Tabularize"]} ; :Tab /regex can align code on occurrences of the given regex. I.e. :Tab /= aligns all = signs in a block.
|
|
||||||
|
|
||||||
:tpope/vim-surround {}
|
|
||||||
|
|
||||||
:nathanaelkane/vim-indent-guides {} ; Can be toggled using <leader>ig (intent-guides)
|
|
||||||
|
|
||||||
; <C-n> to select current word. <C-n> to select next occurrence.
|
|
||||||
; with multiple lines selected in Visual mode, <C-n> to insert cursor in each line. I not i to insert in Visual-mode.
|
|
||||||
:terryma/vim-multiple-cursors {}
|
|
||||||
:mg979/vim-visual-multi {}
|
|
||||||
|
|
||||||
:hauleth/sad.vim {} ; Use siw instead of ciw. when using . afterwards, will find the next occurrence of the changed word and change it too
|
|
||||||
|
|
||||||
:wellle/targets.vim {} ; more text objects. IE: cin (change in next parens). generally better handling of surrounding objects.
|
|
||||||
|
|
||||||
; ( use :iamcco/markdown-preview.nvim {:run vim.fn.mkdp#util#install})
|
|
||||||
|
|
||||||
|
|
||||||
:rcarriga/nvim-dap-ui {:opt false
|
:rcarriga/nvim-dap-ui {:opt false
|
||||||
:config #((. (require :dapui) :setup))
|
:config #((. (require :dapui) :setup))
|
||||||
:requires [:mfussenegger/nvim-dap]}
|
:requires [:mfussenegger/nvim-dap]}
|
||||||
|
@ -139,10 +87,25 @@
|
||||||
:nvim-telescope/telescope-dap.nvim {:requires [:mfussenegger/nvim-dap
|
:nvim-telescope/telescope-dap.nvim {:requires [:mfussenegger/nvim-dap
|
||||||
:nvim-telescope/telescope.nvim]}
|
:nvim-telescope/telescope.nvim]}
|
||||||
|
|
||||||
; code-related ----------------------------------------- <<<
|
; >>>
|
||||||
|
|
||||||
|
|
||||||
|
; git stuff <<<
|
||||||
|
:sindrets/diffview.nvim {:cmd ["DiffviewOpen" "DiffviewToggleFiles"]
|
||||||
|
:config #(require "dots.plugins.diffview")}
|
||||||
|
|
||||||
|
:lewis6991/gitsigns.nvim {:after ["vim-gruvbox8"]
|
||||||
|
:opt false
|
||||||
|
:config #(require "dots.plugins.gitsigns")}
|
||||||
|
|
||||||
|
:ruanyl/vim-gh-line {}
|
||||||
|
:rhysd/conflict-marker.vim {}
|
||||||
|
:tpope/vim-fugitive {}
|
||||||
|
:TimUntersberger/neogit {:config #(require "dots.plugins.neogit")
|
||||||
|
:cmd ["Neogit"]}
|
||||||
|
|
||||||
|
; >>>
|
||||||
|
|
||||||
|
; lsp <<<
|
||||||
:ray-x/lsp_signature.nvim {:events [:BufEnter]}
|
:ray-x/lsp_signature.nvim {:events [:BufEnter]}
|
||||||
|
|
||||||
:elkowar/trouble.nvim {:config #(require "dots.plugins.trouble")
|
:elkowar/trouble.nvim {:config #(require "dots.plugins.trouble")
|
||||||
|
@ -161,6 +124,14 @@
|
||||||
;:branch "coq"
|
;:branch "coq"
|
||||||
;:ms-jpq/coq.artifacts {:branch "artifacts"}
|
;:ms-jpq/coq.artifacts {:branch "artifacts"}
|
||||||
|
|
||||||
|
:tami5/lspsaga.nvim {:after "vim-gruvbox8"
|
||||||
|
:opt false
|
||||||
|
:commit "373bc031b39730cbfe492533c3acfac36007899a"
|
||||||
|
:config #(require "dots.plugins.lspsaga")}
|
||||||
|
|
||||||
|
; >>>
|
||||||
|
|
||||||
|
; cmp <<<
|
||||||
:hrsh7th/vim-vsnip {}
|
:hrsh7th/vim-vsnip {}
|
||||||
|
|
||||||
:hrsh7th/cmp-vsnip {}
|
:hrsh7th/cmp-vsnip {}
|
||||||
|
@ -178,43 +149,31 @@
|
||||||
:hrsh7th/cmp-calc
|
:hrsh7th/cmp-calc
|
||||||
:hrsh7th/cmp-path]
|
:hrsh7th/cmp-path]
|
||||||
:config #(require "dots.plugins.cmp")}
|
:config #(require "dots.plugins.cmp")}
|
||||||
|
; >>>
|
||||||
|
|
||||||
|
; code-related ----------------------------------------- <<<
|
||||||
|
:tpope/vim-sleuth {}
|
||||||
|
|
||||||
:tami5/lspsaga.nvim {:after "vim-gruvbox8"
|
|
||||||
:opt false
|
|
||||||
:commit "373bc031b39730cbfe492533c3acfac36007899a"
|
|
||||||
:config #(require "dots.plugins.lspsaga")}
|
|
||||||
|
|
||||||
|
|
||||||
:sbdchd/neoformat {}
|
|
||||||
|
|
||||||
|
|
||||||
;; --------------------
|
|
||||||
|
|
||||||
:Olical/conjure {}
|
|
||||||
:ciaranm/detectindent {:opt false :config #(require "dots.plugins.detect-indent")}
|
|
||||||
:pechorin/any-jump.vim {}
|
|
||||||
:justinmk/vim-sneak {:opt false :config #(require "dots.plugins.sneak")}
|
|
||||||
:psliwka/vim-smoothie {}
|
|
||||||
:editorconfig/editorconfig-vim {}
|
:editorconfig/editorconfig-vim {}
|
||||||
:tommcdo/vim-exchange {}
|
:pechorin/any-jump.vim {}
|
||||||
|
:sbdchd/neoformat {}
|
||||||
|
:elkowar/antifennel-nvim {:opt false :config #(set vim.g.antifennel_executable "/home/leon/tmp/antifennel/antifennel")}
|
||||||
|
:Olical/conjure {:ft ["fennel"]}
|
||||||
:eraserhd/parinfer-rust {:run "cargo build --release"}
|
:eraserhd/parinfer-rust {:run "cargo build --release"}
|
||||||
|
|
||||||
:elkowar/yuck.vim {}
|
|
||||||
:cespare/vim-toml {}
|
:kmonad/kmonad-vim {}
|
||||||
|
:elkowar/yuck.vim {:ft ["yuck"]}
|
||||||
|
:cespare/vim-toml {:ft ["toml"]}
|
||||||
:bduggan/vim-raku {:ft ["raku"]}
|
:bduggan/vim-raku {:ft ["raku"]}
|
||||||
:LnL7/vim-nix {:ft ["nix"]}
|
:LnL7/vim-nix {:ft ["nix"]}
|
||||||
:kevinoid/vim-jsonc {}
|
:kevinoid/vim-jsonc {}
|
||||||
:norcalli/nvim-colorizer.lua {:opt false :config #(require "dots.plugins.nvim-colorizer")}
|
:pangloss/vim-javascript {:ft ["javascript"]} ; syntax highlighting JS
|
||||||
:pangloss/vim-javascript {} ; syntax highlighting JS
|
:ianks/vim-tsx {:ft ["typescript-react"]}
|
||||||
:ianks/vim-tsx {}
|
:leafgarland/typescript-vim {:ft ["typescript" "typescript-react" "javascript"]}
|
||||||
:leafgarland/typescript-vim {}
|
|
||||||
:HerringtonDarkholme/yats.vim {} ; typescript syntax highlighting
|
:HerringtonDarkholme/yats.vim {} ; typescript syntax highlighting
|
||||||
:mxw/vim-jsx {}
|
:mxw/vim-jsx {}
|
||||||
:mattn/emmet-vim {:opt false :config #(require "dots.plugins.emmet")}
|
:mattn/emmet-vim {:opt false :config #(require "dots.plugins.emmet")}
|
||||||
:purescript-contrib/purescript-vim {}
|
:purescript-contrib/purescript-vim {:ft ["purescript"]}
|
||||||
:derekelkins/agda-vim {:ft ["agda"]}
|
:derekelkins/agda-vim {:ft ["agda"]}
|
||||||
:neovimhaskell/haskell-vim { :ft ["haskell"]}
|
:neovimhaskell/haskell-vim { :ft ["haskell"]}
|
||||||
|
|
||||||
|
@ -232,8 +191,7 @@
|
||||||
:qnighy/lalrpop.vim {}
|
:qnighy/lalrpop.vim {}
|
||||||
:edwinb/idris2-vim {:ft ["idris2"]}
|
:edwinb/idris2-vim {:ft ["idris2"]}
|
||||||
:vmchale/ats-vim {:ft ["ats" "dats" "sats"]}
|
:vmchale/ats-vim {:ft ["ats" "dats" "sats"]}
|
||||||
:google/vim-jsonnet {}
|
:bakpakin/fennel.vim {:ft ["fennel"]}
|
||||||
:bakpakin/fennel.vim {}
|
|
||||||
:evanleck/vim-svelte {})
|
:evanleck/vim-svelte {})
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
(module dots.plugins.detect-indent
|
(module dots.plugins.detect-indent)
|
||||||
{})
|
|
||||||
|
|
||||||
(vim.cmd "autocmd! BufReadPost * :DetectIndent")
|
;(vim.cmd "autocmd! BufReadPost * :DetectIndent")
|
||||||
(set vim.g.detectindent_preferred_expandtab 1)
|
(set vim.g.detectindent_preferred_expandtab 1)
|
||||||
(set vim.g.detectindent_preferred_indent 2)
|
(set vim.g.detectindent_preferred_indent 2)
|
||||||
|
|
||||||
|
|
15
nvim/.config/nvim/fnl/dots/plugins/gruvbox8.fnl
Normal file
15
nvim/.config/nvim/fnl/dots/plugins/gruvbox8.fnl
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
(module dots.plugins.gruvbox8
|
||||||
|
{autoload {utils dots.utils
|
||||||
|
colors dots.colors}})
|
||||||
|
|
||||||
|
(set vim.g.gruvbox_italics 0)
|
||||||
|
(set vim.g.gruvbox_italicise_strings 0)
|
||||||
|
(set vim.g.gruvbox_filetype_hi_groups 1)
|
||||||
|
(set vim.g.gruvbox_plugin_hi_groups 1)
|
||||||
|
|
||||||
|
(vim.cmd "colorscheme gruvbox8")
|
||||||
|
|
||||||
|
(utils.highlight :SignColumn {:bg colors.dark0})
|
||||||
|
|
||||||
|
;(utils.highlight :SignColumn {:bg (. (require :dots.colors) :dark0)}))}
|
||||||
|
;(utils.highlight :LspDiagnosticsUnderlineError {:gui "underline"}))}
|
Loading…
Reference in a new issue