diff --git a/fnl/plugins/colorizer.fnl b/fnl/plugins/colorizer.fnl new file mode 100644 index 0000000..f263f11 --- /dev/null +++ b/fnl/plugins/colorizer.fnl @@ -0,0 +1,6 @@ +(import-macros {: set!} :hibiscus.vim) + +(set! termguicolors true) + +(local colorizer (require :nvim-highlight-colors)) +(colorizer.setup) diff --git a/fnl/plugins/hlchunk.fnl b/fnl/plugins/hlchunk.fnl new file mode 100755 index 0000000..de70e73 --- /dev/null +++ b/fnl/plugins/hlchunk.fnl @@ -0,0 +1,27 @@ +(local hlchunk (require :hlchunk)) + +(hlchunk.setup { + :indent { + :enable true + :chars [ "." "." "." "." ] + + :style + { :#888888 + :#666666 + :#444444 + :#333333 + :#333333 + :#333333 + :#333333 + :#333333 } } + + :blank { :enable false } + + :chunk { :enable false } + + :line_num { + :enable false + :style :#ADBC9F + } + +}) diff --git a/fnl/plugins/incline.fnl b/fnl/plugins/incline.fnl new file mode 100644 index 0000000..6249678 --- /dev/null +++ b/fnl/plugins/incline.fnl @@ -0,0 +1,39 @@ +(local incline (require :incline)) + +(incline.setup + { :highlight + { :groups + { :InclineNormal + { :default true + :group :lualine_a_normal } + + :InclineNormalNC + { :default true + :group :Comment } }} + :window + { :margin + { :vertical 0 + :horizontal 1 }} + ; :render + ; (fn [props] + ; (let + ; [ + ; filename (vim.fn.fnamemodify (vim.api.nvim_buf_get_name props.buf) ::t) + ; [icon color] (require :nvim-web-devicons).get_icon_color filename + ; ] + ; + ; ([ + ; { icon + ; { :guifg color } } + ; + ; [(if icon " " "")] + ; + ; [filename] ]) )) + }) + + +; render = function(props) +; local filename = vim.fn.fnamemodify(vim.api.nvim_buf_get_name(props.buf), ":t") +; local icon, color = require("nvim-web-devicons").get_icon_color(filename) +; return { { icon, guifg = color }, { icon and " " or "" }, { filename } } +; end,