This commit is contained in:
elkowar 2021-05-22 13:03:18 +02:00
parent 185d017d32
commit a5e867cfd7
No known key found for this signature in database
GPG key ID: E321AD71B1D1F27F
3 changed files with 24 additions and 24 deletions

View file

@ -1,4 +1,5 @@
<eww> <eww>
<includes> <includes>
<file path="./foo.xml"/> <file path="./foo.xml"/>
@ -20,6 +21,7 @@
|  {{ round((EWW_DISK["/"].free) / (1024 * 1024 * 1024), 2)}} |  {{ round((EWW_DISK["/"].free) / (1024 * 1024 * 1024), 2)}}
</box> </box>
{{(EWW_NET[kek].NET_UP) * 10}} {{(EWW_NET[kek].NET_UP) * 10}}
asdf {{ round(0.1234, 2) }} asdf {{ round(0.1234, 2) }}
@ -39,7 +41,7 @@
notify-send 'ree' 'this is {{shit}}' notify-send 'ree' 'this is {{shit}}'
<multiple text="{{shit}}" /> <multiple text="{{shit}}" />
[><literal content="{{code}}"/><] <!--<literal content="{{code}}"/>-->
</box> </box>
</def> </def>
@ -54,7 +56,7 @@
<box>{{text}}</box> <box>{{text}}</box>
<label onscroll="notify-send '{{shit}}' {}" text="reeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee" limit-width="5" wrap="true" /> <label onscroll="notify-send '{{shit}}' {}" text="reeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee" limit-width="5" wrap="true" />
[><input onchange="eww update code='{}'" /><] <!--<input onchange="eww update code='{}'" />-->
{{date}} {{date}}
{{date-tail}} {{date-tail}}
</box> </box>
@ -117,9 +119,9 @@
<var name="song-artist"></var> <var name="song-artist"></var>
<var name="song-show-progress">false</var> <var name="song-show-progress">false</var>
<var name="song-playpause"></var> <var name="song-playpause"></var>
[><script-var name="date" interval="1s"><] <!--<script-var name="date" interval="1s">-->
[>date<] <!--date-->
[></script-var><] <!--</script-var>-->
<script-var name="date-tail"> <script-var name="date-tail">
while true; do while true; do
sleep 1; sleep 1;
@ -143,10 +145,6 @@
</var> </var>
<script-var name="asdf" interval="1s">
echo "foobar" | sed 's/o/X/g' | rev
</script-var>
<script-var name="kek" interval="1s"> <script-var name="kek" interval="1s">
@ -155,13 +153,13 @@
[><script-var name="xyz"><] <!--<script-var name="xyz">-->
[>tail -F /home/leon/test | while read -r _; do notify-send "Hi"; done<] <!--tail -F /home/leon/test | while read -r _; do notify-send "Hi"; done-->
[></script-var><] <!--</script-var>-->
[><script-var name="foo"><] <!--<script-var name="foo">-->
[>tail -F /home/leon/test<] <!--tail -F /home/leon/test-->
[></script-var><] <!--</script-var>-->
</variables> </variables>
@ -173,7 +171,7 @@
</widget> </widget>
</window> </window>
<window screen="0" 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">-->
<geometry anchor="center" width="20%" height="20%" x="50px" y="50px"/> <geometry anchor="center" width="20%" height="20%" x="50px" y="50px"/>
<reserve side="left" distance="80px"/> <reserve side="left" distance="80px"/>
<widget> <widget>
@ -184,7 +182,7 @@
<geometry anchor="bottom right"/> <geometry anchor="bottom right"/>
<widget> <widget>
<foo/> <foo/>
[><test ree="test" /><] <!--<test ree="test" />-->
</widget> </widget>
</window> </window>
<window screen="0" name="volume_popup"> <window screen="0" name="volume_popup">

View file

@ -142,9 +142,11 @@
:neovimhaskell/haskell-vim { :ft ["haskell"]} :neovimhaskell/haskell-vim { :ft ["haskell"]}
:rust-lang/rust.vim {:ft ["rust"] :rust-lang/rust.vim {:ft ["rust"]
:requires ["mattn/webapi-vim"]} :requires ["mattn/webapi-vim"]
:config #(do (set vim.g.rustfmt_fail_silently 1))}
:simrat39/rust-tools.nvim {} :simrat39/rust-tools.nvim {}
:qnighy/lalrpop.vim {} :qnighy/lalrpop.vim {}
:edwinb/idris2-vim {:ft ["idris2"]} :edwinb/idris2-vim {:ft ["idris2"]}
:vmchale/ats-vim {:ft ["ats" "dats" "sats"]} :vmchale/ats-vim {:ft ["ats" "dats" "sats"]}

View file

@ -50,11 +50,11 @@
((. lsp lsp-name :setup) merged-opts))) ((. lsp lsp-name :setup) merged-opts)))
; Added capabilities for rust-analyzer with nvim-compe ; Added capabilities for rust-analyzer with nvim-compe
(let [capabilities (vim.lsp.protocol.make_client_capabilities)] ;(let [capabilities (vim.lsp.protocol.make_client_capabilities)]
(set capabilities.textDocument.completion.completionItem.snippetSupport true) ;(set capabilities.textDocument.completion.completionItem.snippetSupport true)
(set capabilities.textDocument.completion.completionItem.resolveSupport ;(set capabilities.textDocument.completion.completionItem.resolveSupport
{:properties ["documentation" "detail" "additionalTextEdits"]}) ;{:properties ["documentation" "detail" "additionalTextEdits"]})
(init-lsp :rust_analyzer {:capabilities capabilities})) ;(init-lsp :rust_analyzer {:capabilities capabilities}))
(init-lsp :tsserver {:root_dir (lsp.util.root_pattern "package.json")}) (init-lsp :tsserver {:root_dir (lsp.util.root_pattern "package.json")})
(init-lsp :jsonls {:commands {:Format [ #(vim.lsp.buf.range_formatting [] [0 0] [(vim.fn.line "$") 0])]}}) (init-lsp :jsonls {:commands {:Format [ #(vim.lsp.buf.range_formatting [] [0 0] [(vim.fn.line "$") 0])]}})