mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-25 13:42:23 +00:00
asdf
This commit is contained in:
parent
242333ceb7
commit
351ba8bf77
6 changed files with 12 additions and 17 deletions
|
@ -3,13 +3,13 @@
|
|||
nvim aniseed.nvim
|
||||
a aniseed.core
|
||||
str aniseed.string
|
||||
fennel aniseed.fennel
|
||||
colors colors
|
||||
gehzu nvim-gehzu}
|
||||
require-macros [macros]})
|
||||
|
||||
(macro make-errors-epic [f]
|
||||
`(xpcall #,f #(a.println (fennel.traceback $1))))
|
||||
`(xpcall #,f #(let [fennel# (require :aniseed.fennel)]
|
||||
(a.println (fennel#.traceback $1)))))
|
||||
|
||||
(when (vim.fn.has "termguicolors")
|
||||
(se termguicolors true))
|
||||
|
|
|
@ -67,7 +67,8 @@
|
|||
block (. args (+ i 1))]
|
||||
(a.assoc block 1 name)
|
||||
(when (. block :mod)
|
||||
(a.assoc block :config `#((. (require "utils") :safe-require) ,(. block :mod))))
|
||||
;(a.assoc block :config `#((. (require "utils") :safe-require) ,(. block :mod)))
|
||||
(a.assoc block :config `#(require ,(. block :mod))))
|
||||
(a.assoc block :mod)
|
||||
(table.insert use-statements block)))
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
(module plugins
|
||||
{require-macros [macros]})
|
||||
|
||||
|
||||
(packer-use
|
||||
"/home/leon/coding/projects/nvim-gehzu" {}
|
||||
:elkowar/kmonad.vim {}
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
(module utils
|
||||
{autoload {a aniseed.core
|
||||
fennel aniseed.fennel
|
||||
nvim aniseed.nvim
|
||||
str aniseed.string}
|
||||
require-macros [macros]})
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
(module plugins.lsp
|
||||
{autoload {a aniseed.core
|
||||
lsp lspconfig
|
||||
lsp-configs lspconfig.configs
|
||||
utils utils}
|
||||
{autoload {a aniseed.core
|
||||
lsp lspconfig
|
||||
lsp-configs lspconfig.configs
|
||||
utils utils}
|
||||
|
||||
require-macros [macros]})
|
||||
require-macros [macros]})
|
||||
|
||||
(fn on_attach [client bufnr]
|
||||
(pkg lsp_signature.nvim [lsp_signature (require "lsp_signature")]
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
(module utils
|
||||
{autoload {a aniseed.core
|
||||
fennel aniseed.fennel
|
||||
nvim aniseed.nvim
|
||||
str aniseed.string}
|
||||
require-macros [macros]})
|
||||
|
@ -76,7 +75,8 @@
|
|||
;(print name)
|
||||
;(time
|
||||
(require name))
|
||||
#(a.println (.. "Error sourcing " name ":\n" (fennel.traceback $1)))))
|
||||
#(let [fennel (require :aniseed.fennel)]
|
||||
(a.println (.. "Error sourcing " name ":\n" (fennel.traceback $1))))))
|
||||
|
||||
|
||||
(defn buffer-content [bufnr]
|
||||
|
|
Loading…
Reference in a new issue