stuff kinda works,... weirdly

This commit is contained in:
elkowar 2021-05-18 13:47:07 +02:00
parent bdeb04af86
commit bcdb805f70
No known key found for this signature in database
GPG key ID: E321AD71B1D1F27F
5 changed files with 28 additions and 23 deletions

View file

@ -1,10 +1,9 @@
(module init (module init
{autoload {utils utils {require {utils utils
nvim aniseed.nvim nvim aniseed.nvim
a aniseed.core a aniseed.core
str aniseed.string str aniseed.string
colors colors colors colors}
gehzu nvim-gehzu}
require-macros [macros]}) require-macros [macros]})
(macro make-errors-epic [f] (macro make-errors-epic [f]
@ -38,7 +37,6 @@
(se showmode false) (se showmode false)
(se undodir (.. vim.env.HOME "/.vim/undo-dir")) (se undodir (.. vim.env.HOME "/.vim/undo-dir"))
(se undofile true) (se undofile true)
(set vim.bo.undofile true)
(se shortmess (.. vim.o.shortmess "c")) ; Don't give completion messages like 'match 1 of 2' or 'The only match' (se shortmess (.. vim.o.shortmess "c")) ; Don't give completion messages like 'match 1 of 2' or 'The only match'
(se hidden true) (se hidden true)
(se encoding "utf-8") (se encoding "utf-8")

View file

@ -94,6 +94,7 @@
(match scope (match scope
:global `(tset vim.o ,str-name ,value) :global `(tset vim.o ,str-name ,value)
:win `(tset vim.wo ,str-name ,value) :win `(tset vim.wo ,str-name ,value)
:buf `(tset vim.bo ,str-name ,value) :buf `(do (tset vim.bo ,str-name ,value)
(tset vim.o ,str-name ,value))
_ (print (.. "option " str-name " has unhandled scope " scope))) _ (print (.. "option " str-name " has unhandled scope " scope)))
(print (.. "Unknown vim-option: " str-name)))))} (print (.. "Unknown vim-option: " str-name)))))}

View file

@ -5,12 +5,14 @@
(packer-use (packer-use
"/home/leon/coding/projects/nvim-gehzu" {} "/home/leon/coding/projects/nvim-gehzu" {}
:elkowar/kmonad.vim {} :elkowar/kmonad.vim {}
:lifepillar/vim-gruvbox8 {:opt false :lifepillar/vim-gruvbox8 {:opt false
:config #(do (set vim.g.gruvbox_italics 0) :config #(do (set vim.g.gruvbox_italics 0)
(set vim.g.gruvbox_italicise_strings 0) (set vim.g.gruvbox_italicise_strings 0)
(set vim.g.gruvbox_filetype_hi_groups 1) (set vim.g.gruvbox_filetype_hi_groups 1)
(set vim.g.gruvbox_plugins_hi_groups 1) (set vim.g.gruvbox_plugin_hi_groups 1)
(vim.cmd "colorscheme gruvbox8"))} (vim.cmd "colorscheme gruvbox8"))}
;:gruvbox-community/gruvbox {:opt false ;:gruvbox-community/gruvbox {:opt false
;:config #(vim.cmd "colorscheme gruvbox")} ;:config #(vim.cmd "colorscheme gruvbox")}
@ -38,7 +40,7 @@
:folke/which-key.nvim {} :folke/which-key.nvim {}
; json query stuff ; json query stuff
:gennaro-tedesco/nvim-jqx {:ft ["json"]} ;:gennaro-tedesco/nvim-jqx {:ft ["json"]}
:Olical/aniseed {:branch "develop"}; :tag "v3.16.0"} :Olical/aniseed {:branch "develop"}; :tag "v3.16.0"}
@ -64,7 +66,8 @@
:junegunn/goyo.vim {:cmd "Goyo"} :junegunn/goyo.vim {:cmd "Goyo"}
:lewis6991/gitsigns.nvim {:mod "plugins.gitsigns"} :lewis6991/gitsigns.nvim {:after ["vim-gruvbox8"]
:mod "plugins.gitsigns"}
:tpope/vim-fugitive {} :tpope/vim-fugitive {}
@ -101,8 +104,7 @@
:mod "plugins.compe"} :mod "plugins.compe"}
:glepnir/lspsaga.nvim {:mod "plugins.lspsaga" :glepnir/lspsaga.nvim {:mod "plugins.lspsaga"}
:event [:BufEnter]}
:Olical/conjure {} :Olical/conjure {}

View file

@ -1,5 +1,5 @@
(module plugins.gitsigns (module plugins.gitsigns
{autoload {utils utils {require {utils utils
colors colors colors colors
gitsigns gitsigns}}) gitsigns gitsigns}})
@ -15,9 +15,13 @@
:current_line_blame false :current_line_blame false
:update_debounce 100}) :update_debounce 100})
(utils.highlight "GitSignsAdd" {:bg "NONE" :fg colors.bright_aqua}) (utils.highlight :GitSignsAdd {:bg "NONE" :fg colors.bright_aqua})
(utils.highlight "GitSignsDelete" {:bg "NONE" :fg colors.neutral_red}) (utils.highlight :GitSignsDelete {:bg "NONE" :fg colors.neutral_red})
(utils.highlight "GitSignsChange" {:bg "NONE" :fg colors.bright_blue}) (utils.highlight :GitSignsChange {:bg "NONE" :fg colors.bright_blue})
;(print "This is right before setting and then printing the highlight group")
;(vim.cmd "highlight GitSignsAdd guibg='NONE' guifg='#ff2200'")
;(vim.cmd "highlight GitSignsAdd")
; this no work, but https://github.com/lewis6991/gitsigns.nvim/blob/d89f88384567afc7a72b597e130008126fdb97f7/teal/gitsigns/highlight.tl#L19 ; this no work, but https://github.com/lewis6991/gitsigns.nvim/blob/d89f88384567afc7a72b597e130008126fdb97f7/teal/gitsigns/highlight.tl#L19
; REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE ; REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

View file

@ -1,5 +1,5 @@
(module utils (module utils
{autoload {a aniseed.core {require {a aniseed.core
nvim aniseed.nvim nvim aniseed.nvim
str aniseed.string} str aniseed.string}
require-macros [macros]}) require-macros [macros]})