mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-11-05 19:02:24 +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 a (autoload :nfnl.core))
|
||||
(local str (autoload :nfnl.string))
|
||||
(local utils (autoload :dots.utils))
|
||||
(local {: autoload : a : str : utils} (require :dots.prelude))
|
||||
(local wk (autoload :which-key))
|
||||
(local glance (autoload :glance))
|
||||
(local crates (autoload :crates))
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
(local {: autoload} (require :nfnl.module))
|
||||
(local a (autoload :aniseed.core))
|
||||
(local utils (autoload :dots.utils))
|
||||
(local {: autoload : a : utils : colors} (require :dots.prelude))
|
||||
(local bufferline (autoload :bufferline))
|
||||
(local colors (autoload :dots.colors))
|
||||
|
||||
(vim.cmd "hi link BufferLineTabSeparatorSelected BufferLineSeparatorSelected")
|
||||
(vim.cmd "hi link BufferLineTabSeparator BufferLineSeparator")
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
(local {: autoload} (require :nfnl.module))
|
||||
(local utils (autoload :dots.utils))
|
||||
(local {: autoload : utils} (require :dots.prelude))
|
||||
(local cmp (autoload :cmp))
|
||||
|
||||
; check this for coloring maybe
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
(local {: autoload} (require :nfnl.module))
|
||||
(local utils (require :dots.utils))
|
||||
(local {: autoload : utils} (require :dots.prelude))
|
||||
(local cb (autoload :diffview.config))
|
||||
(local diffview (autoload :diffview))
|
||||
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
(local {: autoload} (require :nfnl.module))
|
||||
(local utils (autoload :dots.utils))
|
||||
(local a (autoload :nfnl.core))
|
||||
(local str (autoload :nfnl.string))
|
||||
(local colors (autoload :dots.colors))
|
||||
(local {: autoload : utils : a : str : colors} (require :dots.prelude))
|
||||
(local feline (autoload :feline))
|
||||
|
||||
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
(local {: autoload} (require :nfnl.module))
|
||||
(local a (autoload :aniseed.core))
|
||||
(local {: autoload : a : utils} (require :dots.prelude))
|
||||
(local lsp (autoload :lspconfig))
|
||||
(local lsp-configs (autoload :lspconfig/configs))
|
||||
(local utils (autoload :dots.utils))
|
||||
(local cmp_nvim_lsp (autoload :cmp_nvim_lsp))
|
||||
|
||||
(fn setup []
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
(local {: autoload} (require :nfnl.module))
|
||||
(local {: autoload : utils} (require :dots.prelude))
|
||||
(local lsp (autoload :lspconfig))
|
||||
(local configs (autoload :lspconfig/configs))
|
||||
(local lsputil (autoload :lspconfig/util))
|
||||
(local utils (require :dots.utils))
|
||||
|
||||
|
||||
(fn cmds [xs]
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
(local {: autoload} (require :nfnl.module))
|
||||
(local {: autoload : utils} (require :dots.prelude))
|
||||
(local colorizer (autoload :colorizer))
|
||||
(local utils (autoload :dots.utils))
|
||||
|
||||
(fn setup []
|
||||
; this really shouldn't be necessary,.. but it is
|
||||
(set vim.o.termguicolors true)
|
||||
|
||||
(colorizer.setup
|
||||
[(utils.plugin
|
||||
:norcalli/nvim-colorizer.lua
|
||||
{:event "VeryLazy"
|
||||
:lazy true
|
||||
:config #(colorizer.setup
|
||||
["*"]
|
||||
{:RGB true
|
||||
:RRGGBB true
|
||||
|
@ -14,9 +13,4 @@
|
|||
:RRGGBBAA true
|
||||
:rgb_fn true
|
||||
:hsl_fn true
|
||||
:mode "background"}))
|
||||
|
||||
[(utils.plugin :norcalli/nvim-colorizer.lua
|
||||
{:event "VeryLazy"
|
||||
:lazy true
|
||||
:config setup})]
|
||||
:mode "background"})})]
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
(local {: autoload} (require :nfnl.module))
|
||||
(local utils (autoload :dots.utils))
|
||||
(local {: autoload : utils} (require :dots.prelude))
|
||||
(local telescope (autoload :telescope))
|
||||
(local actions (autoload :telescope.actions))
|
||||
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
(local {: autoload} (require :nfnl.module))
|
||||
(local utils (autoload :dots.utils))
|
||||
(local colors (autoload :dots.colors))
|
||||
(local {: autoload : utils : colors} (require :dots.prelude))
|
||||
(local trouble (autoload :trouble))
|
||||
|
||||
(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 a (autoload :nfnl.core))
|
||||
(local str (autoload :nfnl.string))
|
||||
(local {: autoload : a : str} (require :dots.prelude))
|
||||
|
||||
(fn plugin [name ?opts]
|
||||
(if (= nil ?opts)
|
||||
|
|
Loading…
Reference in a new issue