mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-26 14:12: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
|
nvim aniseed.nvim
|
||||||
a aniseed.core
|
a aniseed.core
|
||||||
str aniseed.string
|
str aniseed.string
|
||||||
fennel aniseed.fennel
|
|
||||||
colors colors
|
colors colors
|
||||||
gehzu nvim-gehzu}
|
gehzu nvim-gehzu}
|
||||||
require-macros [macros]})
|
require-macros [macros]})
|
||||||
|
|
||||||
(macro make-errors-epic [f]
|
(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")
|
(when (vim.fn.has "termguicolors")
|
||||||
(se termguicolors true))
|
(se termguicolors true))
|
||||||
|
|
|
@ -67,7 +67,8 @@
|
||||||
block (. args (+ i 1))]
|
block (. args (+ i 1))]
|
||||||
(a.assoc block 1 name)
|
(a.assoc block 1 name)
|
||||||
(when (. block :mod)
|
(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)
|
(a.assoc block :mod)
|
||||||
(table.insert use-statements block)))
|
(table.insert use-statements block)))
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
(module plugins
|
(module plugins
|
||||||
{require-macros [macros]})
|
{require-macros [macros]})
|
||||||
|
|
||||||
|
|
||||||
(packer-use
|
(packer-use
|
||||||
"/home/leon/coding/projects/nvim-gehzu" {}
|
"/home/leon/coding/projects/nvim-gehzu" {}
|
||||||
:elkowar/kmonad.vim {}
|
: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
|
(module plugins.lsp
|
||||||
{autoload {a aniseed.core
|
{autoload {a aniseed.core
|
||||||
lsp lspconfig
|
lsp lspconfig
|
||||||
lsp-configs lspconfig.configs
|
lsp-configs lspconfig.configs
|
||||||
utils utils}
|
utils utils}
|
||||||
|
|
||||||
require-macros [macros]})
|
require-macros [macros]})
|
||||||
|
|
||||||
(fn on_attach [client bufnr]
|
(fn on_attach [client bufnr]
|
||||||
(pkg lsp_signature.nvim [lsp_signature (require "lsp_signature")]
|
(pkg lsp_signature.nvim [lsp_signature (require "lsp_signature")]
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
(module utils
|
(module utils
|
||||||
{autoload {a aniseed.core
|
{autoload {a aniseed.core
|
||||||
fennel aniseed.fennel
|
|
||||||
nvim aniseed.nvim
|
nvim aniseed.nvim
|
||||||
str aniseed.string}
|
str aniseed.string}
|
||||||
require-macros [macros]})
|
require-macros [macros]})
|
||||||
|
@ -76,7 +75,8 @@
|
||||||
;(print name)
|
;(print name)
|
||||||
;(time
|
;(time
|
||||||
(require name))
|
(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]
|
(defn buffer-content [bufnr]
|
||||||
|
|
Loading…
Reference in a new issue