mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-24 13:22:23 +00:00
some theme stuff
This commit is contained in:
parent
53d2532b4b
commit
c188b55475
3 changed files with 28 additions and 6 deletions
|
@ -18,7 +18,18 @@
|
|||
|
||||
|
||||
(set vim.g.conjure#client#fennel#aniseed#aniseed_module_prefix "aniseed.")
|
||||
(set vim.g.sexp_filetypes "clojure,scheme,lisp,timl,fennel")
|
||||
|
||||
|
||||
|
||||
; Colors ------------------------------------------------------- foldstart
|
||||
|
||||
(utils.highlight-add
|
||||
[ "GruvboxBlueSign" "GruvboxAquaSign" "GruvboxRedSign" "GruvboxYellowSign" "GruvboxGreenSign" "GruvboxOrangeSign" "GruvboxPurpleSign"]
|
||||
{:bg "NONE"})
|
||||
|
||||
|
||||
|
||||
; foldend
|
||||
|
||||
; Treesitter ------------------------------------------------------- foldstart
|
||||
|
||||
|
|
|
@ -78,14 +78,28 @@
|
|||
:faded_orange "#af3a03"
|
||||
:gray "#928374"})
|
||||
|
||||
(defn surround-if-present [a mid b]
|
||||
(if mid
|
||||
(.. a mid b)
|
||||
""))
|
||||
|
||||
(defn highlight [group-arg colset]
|
||||
(defn highlight [group-arg colset]
|
||||
(let [default { :fg "NONE" :bg "NONE" :gui "NONE"}
|
||||
opts (a.merge default colset)
|
||||
hl-groups (if (a.string? group-arg) [group-arg] group-arg)]
|
||||
(each [_ group (ipairs hl-groups)]
|
||||
(nvim.command (.. "hi! "group" guifg='"opts.fg"' guibg='"opts.bg"' gui='"opts.gui"'")))))
|
||||
|
||||
(defn highlight-add [group-arg colset]
|
||||
(let [hl-groups (if (a.string? group-arg) [group-arg] group-arg)]
|
||||
(each [_ group (ipairs hl-groups)]
|
||||
(nvim.command
|
||||
(.. "hi! "
|
||||
group
|
||||
(surround-if-present " guibg='"colset.bg"'")
|
||||
(surround-if-present " guifg='"colset.fg"'")
|
||||
(surround-if-present " gui='"colset.gui"'"))))))
|
||||
|
||||
|
||||
(defn comp [f g]
|
||||
(fn [...]
|
||||
|
|
|
@ -17,9 +17,6 @@ require("packer").startup(function(use)
|
|||
|
||||
use "tami5/compe-conjure"
|
||||
|
||||
use "guns/vim-sexp"
|
||||
use "tpope/vim-sexp-mappings-for-regular-people"
|
||||
|
||||
use "pwntester/octo.nvim"
|
||||
|
||||
use "Olical/conjure"
|
||||
|
@ -101,7 +98,7 @@ require("packer").startup(function(use)
|
|||
use "honza/vim-snippets"
|
||||
use "tommcdo/vim-exchange"
|
||||
use "kien/rainbow_parentheses.vim"
|
||||
--use "bhurlow/vim-parinfer"
|
||||
use "bhurlow/vim-parinfer"
|
||||
|
||||
|
||||
use "ray-x/lsp_signature.nvim"
|
||||
|
|
Loading…
Reference in a new issue