mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-26 06:02:23 +00:00
move to having a prelude
This commit is contained in:
parent
d446425f25
commit
f4d1821217
12 changed files with 30 additions and 50 deletions
|
@ -1,7 +1,4 @@
|
||||||
(local {: autoload} (require :nfnl.module))
|
(local {: autoload : a : str : utils} (require :dots.prelude))
|
||||||
(local a (autoload :nfnl.core))
|
|
||||||
(local str (autoload :nfnl.string))
|
|
||||||
(local utils (autoload :dots.utils))
|
|
||||||
(local wk (autoload :which-key))
|
(local wk (autoload :which-key))
|
||||||
(local glance (autoload :glance))
|
(local glance (autoload :glance))
|
||||||
(local crates (autoload :crates))
|
(local crates (autoload :crates))
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
(local {: autoload} (require :nfnl.module))
|
(local {: autoload : a : utils : colors} (require :dots.prelude))
|
||||||
(local a (autoload :aniseed.core))
|
|
||||||
(local utils (autoload :dots.utils))
|
|
||||||
(local bufferline (autoload :bufferline))
|
(local bufferline (autoload :bufferline))
|
||||||
(local colors (autoload :dots.colors))
|
|
||||||
|
|
||||||
(vim.cmd "hi link BufferLineTabSeparatorSelected BufferLineSeparatorSelected")
|
(vim.cmd "hi link BufferLineTabSeparatorSelected BufferLineSeparatorSelected")
|
||||||
(vim.cmd "hi link BufferLineTabSeparator BufferLineSeparator")
|
(vim.cmd "hi link BufferLineTabSeparator BufferLineSeparator")
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
(local {: autoload} (require :nfnl.module))
|
(local {: autoload : utils} (require :dots.prelude))
|
||||||
(local utils (autoload :dots.utils))
|
|
||||||
(local cmp (autoload :cmp))
|
(local cmp (autoload :cmp))
|
||||||
|
|
||||||
; check this for coloring maybe
|
; check this for coloring maybe
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
(local {: autoload} (require :nfnl.module))
|
(local {: autoload : utils} (require :dots.prelude))
|
||||||
(local utils (require :dots.utils))
|
|
||||||
(local cb (autoload :diffview.config))
|
(local cb (autoload :diffview.config))
|
||||||
(local diffview (autoload :diffview))
|
(local diffview (autoload :diffview))
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
(local {: autoload} (require :nfnl.module))
|
(local {: autoload : utils : a : str : colors} (require :dots.prelude))
|
||||||
(local utils (autoload :dots.utils))
|
|
||||||
(local a (autoload :nfnl.core))
|
|
||||||
(local str (autoload :nfnl.string))
|
|
||||||
(local colors (autoload :dots.colors))
|
|
||||||
(local feline (autoload :feline))
|
(local feline (autoload :feline))
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
(local {: autoload} (require :nfnl.module))
|
(local {: autoload : a : utils} (require :dots.prelude))
|
||||||
(local a (autoload :aniseed.core))
|
|
||||||
(local lsp (autoload :lspconfig))
|
(local lsp (autoload :lspconfig))
|
||||||
(local lsp-configs (autoload :lspconfig/configs))
|
(local lsp-configs (autoload :lspconfig/configs))
|
||||||
(local utils (autoload :dots.utils))
|
|
||||||
(local cmp_nvim_lsp (autoload :cmp_nvim_lsp))
|
(local cmp_nvim_lsp (autoload :cmp_nvim_lsp))
|
||||||
|
|
||||||
(fn setup []
|
(fn setup []
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
(local {: autoload} (require :nfnl.module))
|
(local {: autoload : utils} (require :dots.prelude))
|
||||||
(local lsp (autoload :lspconfig))
|
(local lsp (autoload :lspconfig))
|
||||||
(local configs (autoload :lspconfig/configs))
|
(local configs (autoload :lspconfig/configs))
|
||||||
(local lsputil (autoload :lspconfig/util))
|
(local lsputil (autoload :lspconfig/util))
|
||||||
(local utils (require :dots.utils))
|
|
||||||
|
|
||||||
|
|
||||||
(fn cmds [xs]
|
(fn cmds [xs]
|
||||||
|
|
|
@ -1,22 +1,16 @@
|
||||||
(local {: autoload} (require :nfnl.module))
|
(local {: autoload : utils} (require :dots.prelude))
|
||||||
(local colorizer (autoload :colorizer))
|
(local colorizer (autoload :colorizer))
|
||||||
(local utils (autoload :dots.utils))
|
|
||||||
|
|
||||||
(fn setup []
|
[(utils.plugin
|
||||||
; this really shouldn't be necessary,.. but it is
|
:norcalli/nvim-colorizer.lua
|
||||||
(set vim.o.termguicolors true)
|
{:event "VeryLazy"
|
||||||
|
:lazy true
|
||||||
(colorizer.setup
|
:config #(colorizer.setup
|
||||||
["*"]
|
["*"]
|
||||||
{:RGB true
|
{:RGB true
|
||||||
:RRGGBB true
|
:RRGGBB true
|
||||||
:names true
|
:names true
|
||||||
:RRGGBBAA true
|
:RRGGBBAA true
|
||||||
:rgb_fn true
|
:rgb_fn true
|
||||||
:hsl_fn true
|
:hsl_fn true
|
||||||
:mode "background"}))
|
:mode "background"})})]
|
||||||
|
|
||||||
[(utils.plugin :norcalli/nvim-colorizer.lua
|
|
||||||
{:event "VeryLazy"
|
|
||||||
:lazy true
|
|
||||||
:config setup})]
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
(local {: autoload} (require :nfnl.module))
|
(local {: autoload : utils} (require :dots.prelude))
|
||||||
(local utils (autoload :dots.utils))
|
|
||||||
(local telescope (autoload :telescope))
|
(local telescope (autoload :telescope))
|
||||||
(local actions (autoload :telescope.actions))
|
(local actions (autoload :telescope.actions))
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
(local {: autoload} (require :nfnl.module))
|
(local {: autoload : utils : colors} (require :dots.prelude))
|
||||||
(local utils (autoload :dots.utils))
|
|
||||||
(local colors (autoload :dots.colors))
|
|
||||||
(local trouble (autoload :trouble))
|
(local trouble (autoload :trouble))
|
||||||
|
|
||||||
(fn setup []
|
(fn setup []
|
||||||
|
|
6
nvim/.config/nvim/fnl/dots/prelude.fnl
Normal file
6
nvim/.config/nvim/fnl/dots/prelude.fnl
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
(local {: autoload} (require :nfnl.module))
|
||||||
|
{: autoload
|
||||||
|
:a (autoload :nfnl.core)
|
||||||
|
:str (autoload :nfnl.string)
|
||||||
|
:utils (autoload :dots.utils)
|
||||||
|
:colors (autoload :dots.colors)}
|
|
@ -1,6 +1,4 @@
|
||||||
(local {: autoload} (require :nfnl.module))
|
(local {: autoload : a : str} (require :dots.prelude))
|
||||||
(local a (autoload :nfnl.core))
|
|
||||||
(local str (autoload :nfnl.string))
|
|
||||||
|
|
||||||
(fn plugin [name ?opts]
|
(fn plugin [name ?opts]
|
||||||
(if (= nil ?opts)
|
(if (= nil ?opts)
|
||||||
|
|
Loading…
Reference in a new issue