mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-25 05:42:22 +00:00
consistent formatting
This commit is contained in:
parent
c188b55475
commit
66573e88ea
6 changed files with 189 additions and 189 deletions
|
@ -25,6 +25,7 @@
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|
||||||
|
asd FUCK FUKC FCUK CUFLKJASDFLKJASDLKJASDLKj
|
||||||
|
|
||||||
|
|
||||||
<label text="< > bruh ""/>
|
<label text="< > bruh ""/>
|
||||||
|
@ -173,10 +174,11 @@
|
||||||
<pxbar/>
|
<pxbar/>
|
||||||
</widget>
|
</widget>
|
||||||
</window>
|
</window>
|
||||||
<window screen="1" name="mw" stacking="fg" focusable="false">
|
<window screen="0" name="mw" stacking="fg" focusable="false">
|
||||||
<!--<window screen="2" name="mw" stacking="fg" focusable="false">-->
|
<!--<window screen="2" name="mw" stacking="fg" focusable="false">-->
|
||||||
<!--<reserve side="l" distance="500px"/>-->
|
<!--<reserve side="l" distance="500px"/>-->
|
||||||
<geometry anchor="center" width="200px" height="200px" x="0px" y="0px"/>
|
<geometry anchor="center" width="20%" height="50%" x="50px" y="20px"/>
|
||||||
|
<reserve x="12px" y="20px" side="top" distance="4%" layer="top" exclusive="true"/>
|
||||||
<widget>
|
<widget>
|
||||||
<test ree="test" />
|
<test ree="test" />
|
||||||
</widget>
|
</widget>
|
||||||
|
|
|
@ -14,13 +14,14 @@
|
||||||
(require "plugins.galaxyline")
|
(require "plugins.galaxyline")
|
||||||
(require "plugins.bufferline")
|
(require "plugins.bufferline")
|
||||||
|
|
||||||
(local colors (utils.colors))
|
;(tset debug :traceback fennel.traceback)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
(def colors (utils.colors))
|
||||||
|
|
||||||
(set vim.g.conjure#client#fennel#aniseed#aniseed_module_prefix "aniseed.")
|
(set vim.g.conjure#client#fennel#aniseed#aniseed_module_prefix "aniseed.")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
; Colors ------------------------------------------------------- foldstart
|
; Colors ------------------------------------------------------- foldstart
|
||||||
|
|
||||||
(utils.highlight-add
|
(utils.highlight-add
|
||||||
|
@ -100,14 +101,11 @@
|
||||||
(utils.keymap :i :<Space> newKey {:buffer true}))
|
(utils.keymap :i :<Space> newKey {:buffer true}))
|
||||||
|
|
||||||
(fn _G.UnbindSpaceStuff []
|
(fn _G.UnbindSpaceStuff []
|
||||||
(if (and remapped-space (~= remapped-space {}))
|
(when (and remapped-space (~= remapped-space {}))
|
||||||
(do
|
|
||||||
(utils.del-keymap :i :<Space> true)
|
(utils.del-keymap :i :<Space> true)
|
||||||
(if (~= remapped-space.old "")
|
(when (~= remapped-space.old "")
|
||||||
(utils.keymap :i :<Space> remapped-space.old {:buffer true}))
|
(utils.keymap :i :<Space> remapped-space.old {:buffer true}))
|
||||||
(set remapped-space nil))))
|
(set remapped-space nil)))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -121,5 +119,4 @@
|
||||||
; foldend
|
; foldend
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
; vim:foldmarker=foldstart,foldend
|
; vim:foldmarker=foldstart,foldend
|
||||||
|
|
|
@ -13,12 +13,12 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
(wk.setup {})
|
|
||||||
|
|
||||||
(fn cmd [s desc] [(.. "<cmd>" s "<cr>") desc])
|
(fn cmd [s desc] [(.. "<cmd>" s "<cr>") desc])
|
||||||
(fn le [s desc] (cmd (.. "call luaeval(\"" s "\")") desc))
|
(fn le [s desc] (cmd (.. "call luaeval(\"" s "\")") desc))
|
||||||
(fn rebind [s desc] [s desc])
|
(fn rebind [s desc] [s desc])
|
||||||
|
|
||||||
|
(wk.setup {})
|
||||||
(wk.register
|
(wk.register
|
||||||
{"c" {:name "+comment out"}
|
{"c" {:name "+comment out"}
|
||||||
"e" {:name "+emmet"}
|
"e" {:name "+emmet"}
|
||||||
|
|
|
@ -39,8 +39,7 @@
|
||||||
|
|
||||||
(fn get-current-file-name []
|
(fn get-current-file-name []
|
||||||
(let [file (nvim.fn.expand "%:t")]
|
(let [file (nvim.fn.expand "%:t")]
|
||||||
(if
|
(if (a.empty? file) ""
|
||||||
(a.empty? file) ""
|
|
||||||
nvim.bo.readonly (.. "RO " file)
|
nvim.bo.readonly (.. "RO " file)
|
||||||
(and nvim.bo.modifiable nvim.bo.modified) (.. file " ")
|
(and nvim.bo.modifiable nvim.bo.modified) (.. file " ")
|
||||||
file)))
|
file)))
|
||||||
|
@ -103,7 +102,8 @@
|
||||||
|
|
||||||
(fn map-gl-section [f section]
|
(fn map-gl-section [f section]
|
||||||
(icollect [_ elem (ipairs section)]
|
(icollect [_ elem (ipairs section)]
|
||||||
(collect [k v (pairs elem)] (values k (f v)))))
|
(collect [k v (pairs elem)]
|
||||||
|
(values k (f v)))))
|
||||||
|
|
||||||
(set galaxyline.section.left (map-gl-section add-segment-defaults galaxyline.section.left))
|
(set galaxyline.section.left (map-gl-section add-segment-defaults galaxyline.section.left))
|
||||||
(set galaxyline.section.right (map-gl-section add-segment-defaults galaxyline.section.right)))
|
(set galaxyline.section.right (map-gl-section add-segment-defaults galaxyline.section.right)))
|
||||||
|
|
|
@ -40,6 +40,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
(defn colors []
|
(defn colors []
|
||||||
{ :dark0_hard "#1d2021"
|
{ :dark0_hard "#1d2021"
|
||||||
:dark0 "#282828"
|
:dark0 "#282828"
|
||||||
|
|
Loading…
Reference in a new issue