mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-11-06 03:12:24 +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 ""/>
|
||||
|
@ -173,10 +174,11 @@
|
|||
<pxbar/>
|
||||
</widget>
|
||||
</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">-->
|
||||
<!--<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>
|
||||
<test ree="test" />
|
||||
</widget>
|
||||
|
|
|
@ -14,13 +14,14 @@
|
|||
(require "plugins.galaxyline")
|
||||
(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.")
|
||||
|
||||
|
||||
|
||||
; Colors ------------------------------------------------------- foldstart
|
||||
|
||||
(utils.highlight-add
|
||||
|
@ -100,14 +101,11 @@
|
|||
(utils.keymap :i :<Space> newKey {:buffer true}))
|
||||
|
||||
(fn _G.UnbindSpaceStuff []
|
||||
(if (and remapped-space (~= remapped-space {}))
|
||||
(do
|
||||
(when (and remapped-space (~= remapped-space {}))
|
||||
(utils.del-keymap :i :<Space> true)
|
||||
(if (~= remapped-space.old "")
|
||||
(when (~= remapped-space.old "")
|
||||
(utils.keymap :i :<Space> remapped-space.old {:buffer true}))
|
||||
(set remapped-space nil))))
|
||||
|
||||
|
||||
(set remapped-space nil)))
|
||||
|
||||
|
||||
|
||||
|
@ -121,5 +119,4 @@
|
|||
; foldend
|
||||
|
||||
|
||||
|
||||
; vim:foldmarker=foldstart,foldend
|
||||
|
|
|
@ -13,12 +13,12 @@
|
|||
|
||||
|
||||
|
||||
(wk.setup {})
|
||||
|
||||
(fn cmd [s desc] [(.. "<cmd>" s "<cr>") desc])
|
||||
(fn le [s desc] (cmd (.. "call luaeval(\"" s "\")") desc))
|
||||
(fn rebind [s desc] [s desc])
|
||||
|
||||
(wk.setup {})
|
||||
(wk.register
|
||||
{"c" {:name "+comment out"}
|
||||
"e" {:name "+emmet"}
|
||||
|
|
|
@ -39,8 +39,7 @@
|
|||
|
||||
(fn get-current-file-name []
|
||||
(let [file (nvim.fn.expand "%:t")]
|
||||
(if
|
||||
(a.empty? file) ""
|
||||
(if (a.empty? file) ""
|
||||
nvim.bo.readonly (.. "RO " file)
|
||||
(and nvim.bo.modifiable nvim.bo.modified) (.. file " ")
|
||||
file)))
|
||||
|
@ -103,7 +102,8 @@
|
|||
|
||||
(fn map-gl-section [f 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.right (map-gl-section add-segment-defaults galaxyline.section.right)))
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
|
||||
|
||||
|
||||
|
||||
(defn colors []
|
||||
{ :dark0_hard "#1d2021"
|
||||
:dark0 "#282828"
|
||||
|
|
Loading…
Reference in a new issue