mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-11-06 03:12:24 +00:00
Cleanup and fixes
This commit is contained in:
parent
1d538b249f
commit
5e1361cd92
12 changed files with 99 additions and 125 deletions
|
@ -4,7 +4,8 @@
|
||||||
(al colors dots.colors)
|
(al colors dots.colors)
|
||||||
(al bufferline bufferline)
|
(al bufferline bufferline)
|
||||||
|
|
||||||
(print (vim.inspect colors))
|
(vim.cmd "hi link BufferLineTabSeparatorSelected BufferLineSeparatorSelected")
|
||||||
|
(vim.cmd "hi link BufferLineTabSeparator BufferLineSeparator")
|
||||||
|
|
||||||
(fn setup []
|
(fn setup []
|
||||||
; :h bufferline-lua-highlights
|
; :h bufferline-lua-highlights
|
||||||
|
|
|
@ -1,8 +1,15 @@
|
||||||
(import-macros m :macros)
|
(import-macros m :macros)
|
||||||
|
(m.al utils dots.utils)
|
||||||
|
|
||||||
(set vim.g.user_emmet_mode "n")
|
(fn setup []
|
||||||
(set vim.g.user_emmet_leader_key "<leader>e")
|
(set vim.g.user_emmet_mode "n")
|
||||||
(set vim.g.user_emmet_settings {:javascript.jsx {:extends "jsx"}
|
(set vim.g.user_emmet_leader_key "<leader>e")
|
||||||
:typescript.jsx {:extends "jsx"}})
|
(set vim.g.user_emmet_settings {:javascript.jsx {:extends "jsx"}
|
||||||
|
:typescript.jsx {:extends "jsx"}}))
|
||||||
|
|
||||||
[]
|
[(utils.plugin
|
||||||
|
:mattn/emmet-vim
|
||||||
|
{:lazy true
|
||||||
|
:config setup})]
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -17,10 +17,6 @@
|
||||||
(plugin :norcalli/nvim.lua)
|
(plugin :norcalli/nvim.lua)
|
||||||
(plugin :kyazdani42/nvim-web-devicons)
|
(plugin :kyazdani42/nvim-web-devicons)
|
||||||
(plugin :folke/which-key.nvim)
|
(plugin :folke/which-key.nvim)
|
||||||
(plugin :folke/todo-comments.nvim
|
|
||||||
{:lazy true
|
|
||||||
:event "VeryLazy"
|
|
||||||
:config #(require "dots.plugins.todo-comments")})
|
|
||||||
(plugin :ckipp01/nvim-jenkinsfile-linter
|
(plugin :ckipp01/nvim-jenkinsfile-linter
|
||||||
{:dependencies ["nvim-lua/plenary.nvim"]})
|
{:dependencies ["nvim-lua/plenary.nvim"]})
|
||||||
(plugin :psliwka/vim-smoothie)
|
(plugin :psliwka/vim-smoothie)
|
||||||
|
@ -34,11 +30,6 @@
|
||||||
|
|
||||||
(plugin :tweekmonster/startuptime.vim
|
(plugin :tweekmonster/startuptime.vim
|
||||||
{:cmd ["StartupTime"]})
|
{:cmd ["StartupTime"]})
|
||||||
(plugin :folke/zen-mode.nvim
|
|
||||||
{:config #(require "dots.plugins.zen-mode")
|
|
||||||
:cmd ["ZenMode"]})
|
|
||||||
(plugin :folke/twilight.nvim
|
|
||||||
{:config #(require "dots.plugins.twilight")})
|
|
||||||
(plugin :moll/vim-bbye
|
(plugin :moll/vim-bbye
|
||||||
{:lazy true :cmd [:Bdelete :Bwipeout]})
|
{:lazy true :cmd [:Bdelete :Bwipeout]})
|
||||||
(plugin :petertriho/nvim-scrollbar
|
(plugin :petertriho/nvim-scrollbar
|
||||||
|
@ -111,21 +102,6 @@
|
||||||
{:cmd "CodeActionMenu"
|
{:cmd "CodeActionMenu"
|
||||||
:config #(set vim.g.code_action_menu_show_details false)})
|
:config #(set vim.g.code_action_menu_show_details false)})
|
||||||
|
|
||||||
(plugin :folke/trouble.nvim
|
|
||||||
{:lazy true
|
|
||||||
:config #(require "dots.plugins.trouble")
|
|
||||||
:cmd ["Trouble" "TroubleClose" "TroubleRefresh" "TroubleToggle"]})
|
|
||||||
|
|
||||||
; :elkowar/trouble.nvim {:branch "fix_error_on_nil_window"
|
|
||||||
; :config #(require "dots.plugins.trouble")
|
|
||||||
; :cmd ["Trouble" "TroubleClose" "TroubleRefresh" "TroubleToggle"]}
|
|
||||||
|
|
||||||
(plugin :simrat39/symbols-outline.nvim
|
|
||||||
{:lazy true
|
|
||||||
:cmd ["SymbolsOutline" "SymbolsOutlineClose" "SymbolsOutlineOpen"]
|
|
||||||
:config #(require "dots.plugins.symbols-outline")})
|
|
||||||
|
|
||||||
|
|
||||||
(plugin :smjonas/inc-rename.nvim
|
(plugin :smjonas/inc-rename.nvim
|
||||||
{:config #(setup :inc_rename {:input_buffer_type "dressing"})})
|
{:config #(setup :inc_rename {:input_buffer_type "dressing"})})
|
||||||
; >>>
|
; >>>
|
||||||
|
@ -146,10 +122,6 @@
|
||||||
{:config #(set vim.g.antifennel_executable "/home/leon/tmp/antifennel/antifennel")})
|
{:config #(set vim.g.antifennel_executable "/home/leon/tmp/antifennel/antifennel")})
|
||||||
(plugin :Olical/conjure {:ft ["fennel"]})
|
(plugin :Olical/conjure {:ft ["fennel"]})
|
||||||
(plugin :eraserhd/parinfer-rust {:build "cargo build --release"})
|
(plugin :eraserhd/parinfer-rust {:build "cargo build --release"})
|
||||||
|
|
||||||
(plugin :lervag/vimtex
|
|
||||||
{:ft ["latex" "tex"]
|
|
||||||
:config #(require :dots.plugins.vimtex)})
|
|
||||||
(plugin :kmonad/kmonad-vim)
|
(plugin :kmonad/kmonad-vim)
|
||||||
(plugin :elkowar/yuck.vim {:ft ["yuck"]})
|
(plugin :elkowar/yuck.vim {:ft ["yuck"]})
|
||||||
(plugin :cespare/vim-toml {:ft ["toml"]})
|
(plugin :cespare/vim-toml {:ft ["toml"]})
|
||||||
|
@ -161,9 +133,6 @@
|
||||||
(plugin :leafgarland/typescript-vim {:ft ["typescript" "typescript-react" "javascript"]})
|
(plugin :leafgarland/typescript-vim {:ft ["typescript" "typescript-react" "javascript"]})
|
||||||
(plugin :HerringtonDarkholme/yats.vim {}) ; typescript syntax highlighting
|
(plugin :HerringtonDarkholme/yats.vim {}) ; typescript syntax highlighting
|
||||||
(plugin :mxw/vim-jsx {})
|
(plugin :mxw/vim-jsx {})
|
||||||
(plugin :mattn/emmet-vim
|
|
||||||
{:lazy true
|
|
||||||
:config #(require "dots.plugins.emmet")})
|
|
||||||
(plugin :purescript-contrib/purescript-vim {:ft ["purescript"]})
|
(plugin :purescript-contrib/purescript-vim {:ft ["purescript"]})
|
||||||
(plugin :derekelkins/agda-vim {:ft ["agda"]})
|
(plugin :derekelkins/agda-vim {:ft ["agda"]})
|
||||||
(plugin :neovimhaskell/haskell-vim { :ft ["haskell"]})
|
(plugin :neovimhaskell/haskell-vim { :ft ["haskell"]})
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
(import-macros m :macros)
|
|
||||||
(local symbols-outline (require :symbols-outline))
|
|
||||||
|
|
||||||
; (symbols-outline.setup {:highlight_hovered_item true :show_guides true})
|
|
||||||
[]
|
|
|
@ -1,12 +1,20 @@
|
||||||
(import-macros m :macros)
|
(import-macros m :macros)
|
||||||
(m.al a aniseed.core)
|
(m.al a nfnl.core)
|
||||||
|
(m.al utils dots.utils)
|
||||||
(m.al todo-comments todo-comments)
|
(m.al todo-comments todo-comments)
|
||||||
|
|
||||||
(todo-comments.setup
|
|
||||||
{:keywords {:TODO {:icon " "}
|
(fn setup []
|
||||||
:WARN {:icon " " :alt [:WARNING :XXX :!!!]}
|
(todo-comments.setup
|
||||||
:NOTE {:icon " " :alt [:INFO]}
|
{:keywords {:TODO {:icon " "}
|
||||||
:FIX {:icon " " :alt [:FIXME :BUG :FIXIT :ISSUE :PHIX]}
|
:WARN {:icon " " :alt [:WARNING :XXX :!!!]}
|
||||||
:PERF {:icon " " :alt [:OPTIM :PERFORMANCE :OPTIMIZE]}
|
:NOTE {:icon " " :alt [:INFO]}
|
||||||
:HACK {:icon " "}}})
|
:FIX {:icon " " :alt [:FIXME :BUG :FIXIT :ISSUE :PHIX]}
|
||||||
[]
|
:PERF {:icon " " :alt [:OPTIM :PERFORMANCE :OPTIMIZE]}
|
||||||
|
:HACK {:icon " "}}}))
|
||||||
|
|
||||||
|
[(utils.plugin
|
||||||
|
:folke/todo-comments.nvim
|
||||||
|
{:lazy true
|
||||||
|
:event "VeryLazy"
|
||||||
|
:config setup})]
|
||||||
|
|
|
@ -2,9 +2,8 @@
|
||||||
(m.al utils dots.utils)
|
(m.al utils dots.utils)
|
||||||
(m.al a nfnl.core)
|
(m.al a nfnl.core)
|
||||||
|
|
||||||
(fn setup [])
|
|
||||||
|
|
||||||
(fn setup1 []
|
(fn setup []
|
||||||
(local configs (require :nvim-treesitter.configs))
|
(local configs (require :nvim-treesitter.configs))
|
||||||
(configs.setup
|
(configs.setup
|
||||||
{:ensure_installed ["rust" "fennel" "commonlisp" "vim" "regex" "lua" "bash" "markdown" "markdown_inline"]
|
{:ensure_installed ["rust" "fennel" "commonlisp" "vim" "regex" "lua" "bash" "markdown" "markdown_inline"]
|
||||||
|
|
|
@ -1,28 +1,35 @@
|
||||||
(import-macros m :macros)
|
(import-macros m :macros)
|
||||||
(m.al utils dots.utils)
|
(m.al utils dots.utils)
|
||||||
(m.al colors dots.colors)
|
(m.al colors dots.colors)
|
||||||
(local trouble (require :trouble))
|
(m.al trouble trouble)
|
||||||
|
|
||||||
(trouble.setup
|
(fn setup []
|
||||||
{:icons false
|
(trouble.setup
|
||||||
:auto_preview true
|
{:icons false
|
||||||
:auto_close true
|
:auto_preview true
|
||||||
:auto_open false
|
:auto_close true
|
||||||
:auto_jump ["lsp_definitions" "lsp_workspace_diagnostics" "lsp_type_definitions"]
|
:auto_open false
|
||||||
:indent_lines false
|
:auto_jump ["lsp_definitions" "lsp_workspace_diagnostics" "lsp_type_definitions"]
|
||||||
:action_keys
|
:indent_lines false
|
||||||
{:jump "o"
|
:action_keys
|
||||||
:jump_close "<CR>"
|
{:jump "o"
|
||||||
:close "<esc>"
|
:jump_close "<CR>"
|
||||||
:cancel "q"
|
:close "<esc>"
|
||||||
:hover ["a" "K"]}})
|
:cancel "q"
|
||||||
|
:hover ["a" "K"]}})
|
||||||
|
|
||||||
(utils.highlight "TroubleFoldIcon" {:bg "NONE" :fg colors.bright_orange})
|
(utils.highlight "TroubleFoldIcon" {:bg "NONE" :fg colors.bright_orange})
|
||||||
(utils.highlight "TroubleCount" {:bg "NONE" :fg colors.bright_green})
|
(utils.highlight "TroubleCount" {:bg "NONE" :fg colors.bright_green})
|
||||||
(utils.highlight "TroubleText" {:bg "NONE" :fg colors.light0})
|
(utils.highlight "TroubleText" {:bg "NONE" :fg colors.light0})
|
||||||
|
|
||||||
(utils.highlight "TroubleSignError" {:bg "NONE" :fg colors.bright_red})
|
(utils.highlight "TroubleSignError" {:bg "NONE" :fg colors.bright_red})
|
||||||
(utils.highlight "TroubleSignWarning" {:bg "NONE" :fg colors.bright_yellow})
|
(utils.highlight "TroubleSignWarning" {:bg "NONE" :fg colors.bright_yellow})
|
||||||
(utils.highlight "TroubleSignInformation" {:bg "NONE" :fg colors.bright_aqua})
|
(utils.highlight "TroubleSignInformation" {:bg "NONE" :fg colors.bright_aqua})
|
||||||
(utils.highlight "TroubleSignHint" {:bg "NONE" :fg colors.bright_blue})
|
(utils.highlight "TroubleSignHint" {:bg "NONE" :fg colors.bright_blue}))
|
||||||
[]
|
|
||||||
|
[(utils.plugin
|
||||||
|
:folke/trouble.nvim
|
||||||
|
{:lazy true
|
||||||
|
:config setup
|
||||||
|
:cmd ["Trouble" "TroubleClose" "TroubleRefresh" "TroubleToggle"]})]
|
||||||
|
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
(import-macros m :macros)
|
|
||||||
(m.al twilight twilight)
|
|
||||||
|
|
||||||
(twilight.setup)
|
|
||||||
[]
|
|
|
@ -1,42 +1,43 @@
|
||||||
|
(import-macros m :macros)
|
||||||
|
(m.al utils dots.utils)
|
||||||
|
|
||||||
|
(fn setup []
|
||||||
|
(set vim.g.vimtex_view_method "general")
|
||||||
|
(set vim.g.vimtex_view_general_viewer "zathura")
|
||||||
|
(set vim.g.vimtex_view_general_options "--synctex-forward @line:1:@tex @pdf")
|
||||||
|
;(set vim.g.vimtex_view_general_options "--unique file:@pdf#src:@line@tex")
|
||||||
|
(set vim.g.vimtex_quickfix_method "pplatex")
|
||||||
|
(set vim.g.vimtex_quickfix_mode 2)
|
||||||
|
(set vim.g.vimtex_quickfix_open_on_warning 0)
|
||||||
|
|
||||||
;(set vim.g.vimtex_quickfix_enabled 0)
|
(set vim.g.vimtex_compiler_latexmk {:build_dir ""
|
||||||
|
:callback 1
|
||||||
|
:continuous 1
|
||||||
|
:executable "latexmk"
|
||||||
|
:hooks []
|
||||||
|
:options ["-verbose"
|
||||||
|
"-file-line-error"
|
||||||
|
"-synctex=1"
|
||||||
|
"-interaction=nonstopmode"
|
||||||
|
"-shell-escape"]})
|
||||||
|
|
||||||
(set vim.g.vimtex_view_method "general")
|
(set vim.g.vimtex_syntax_custom_cmds
|
||||||
;(set vim.g.vimtex_view_general_viewer "okular")
|
[{:name "scripture" :argstyle "ital"}])
|
||||||
(set vim.g.vimtex_view_general_viewer "zathura")
|
(set vim.g.vimtex_syntax_conceal {:accents 1
|
||||||
(set vim.g.vimtex_view_general_options "--synctex-forward @line:1:@tex @pdf")
|
:cites 1
|
||||||
;(set vim.g.vimtex_view_general_options "--unique file:@pdf#src:@line@tex")
|
:fancy 1
|
||||||
(set vim.g.vimtex_quickfix_method "pplatex")
|
:greek 1
|
||||||
(set vim.g.vimtex_quickfix_mode 2)
|
:math_bounds 1
|
||||||
(set vim.g.vimtex_quickfix_open_on_warning 0)
|
:math_delimiters 1
|
||||||
|
:math_fracs 1
|
||||||
(set vim.g.vimtex_compiler_latexmk {:build_dir ""
|
:math_super_sub 1
|
||||||
:callback 1
|
:math_symbols 1
|
||||||
:continuous 1
|
:sections 0
|
||||||
:executable "latexmk"
|
:styles 0}))
|
||||||
:hooks []
|
|
||||||
:options ["-verbose"
|
|
||||||
"-file-line-error"
|
|
||||||
"-synctex=1"
|
|
||||||
"-interaction=nonstopmode"
|
|
||||||
"-shell-escape"]})
|
|
||||||
|
|
||||||
(set vim.g.vimtex_syntax_custom_cmds
|
|
||||||
[{:name "scripture" :argstyle "ital"}])
|
|
||||||
|
|
||||||
(set vim.g.vimtex_syntax_conceal {:accents 1
|
|
||||||
:cites 1
|
|
||||||
:fancy 1
|
|
||||||
:greek 1
|
|
||||||
:math_bounds 1
|
|
||||||
:math_delimiters 1
|
|
||||||
:math_fracs 1
|
|
||||||
:math_super_sub 1
|
|
||||||
:math_symbols 1
|
|
||||||
:sections 0
|
|
||||||
:styles 0})
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[]
|
[(utils.plugin
|
||||||
|
:lervag/vimtex
|
||||||
|
{:ft ["latex" "tex"]
|
||||||
|
:config setup})]
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
(import-macros m :macros)
|
|
||||||
(m.al zen-mode zen-mode)
|
|
||||||
|
|
||||||
|
|
||||||
(zen-mode.setup
|
|
||||||
{:window {:options {:wrap true}}})
|
|
||||||
|
|
||||||
[]
|
|
|
@ -34,7 +34,7 @@ ensure("Olical", "nfnl", "main")
|
||||||
|
|
||||||
-- require('nfnl')['compile-all-files']()
|
-- require('nfnl')['compile-all-files']()
|
||||||
|
|
||||||
require("lua.init")
|
require("main")
|
||||||
|
|
||||||
|
|
||||||
-- ensure("lewis6991", "impatient.nvim", "main")
|
-- ensure("lewis6991", "impatient.nvim", "main")
|
||||||
|
|
Loading…
Reference in a new issue