This commit is contained in:
elkowar 2021-08-16 12:18:27 +02:00
parent 61e2d897d9
commit 6d69481cd7
No known key found for this signature in database
GPG key ID: E321AD71B1D1F27F
6 changed files with 28 additions and 10 deletions

View file

@ -90,7 +90,7 @@
(deflisten music_data (deflisten music_data
:initial `{"status": ""}` :initial `{"status": ""}`
` `
playerctl metadata || echo '{"status": ""}'; playerctl metadata --format '{ "status": "{{status}}", "artist": "{{artist}}", "title": "{{title}}"}' || echo '{"status": ""}';
playerctl --follow metadata --format '{ "status": "{{status}}", "artist": "{{artist}}", "title": "{{title}}"}' playerctl --follow metadata --format '{ "status": "{{status}}", "artist": "{{artist}}", "title": "{{title}}"}'
`) `)

View file

@ -63,7 +63,7 @@
"e" (cmd "Trouble lsp_workspace_diagnostics" "Show diagnostics") "e" (cmd "Trouble lsp_workspace_diagnostics" "Show diagnostics")
"t" [vim.lsp.buf.declaration "Go to declaration"] "t" [vim.lsp.buf.declaration "Go to declaration"]
"g" [vim.lsp.buf.definition "Go to definition"] "g" [vim.lsp.buf.definition "Go to definition"]
"i" [vim.lsp.buf.implementation "Show implementation"] "i" (cmd "Trouble lsp_implementations" "Show implementation")
"f" [format "format file"] "f" [format "format file"]
"," (cmd "RustRunnables" "Run rust stuff")} "," (cmd "RustRunnables" "Run rust stuff")}

View file

@ -108,14 +108,21 @@
; code-related ----------------------------------------- <<< ; code-related ----------------------------------------- <<<
:ray-x/lsp_signature.nvim {:events [:BufEnter]} :ray-x/lsp_signature.nvim {:events [:BufEnter]}
:folke/lsp-trouble.nvim {:mod "dots.plugins.trouble" "/home/leon/coding/prs/trouble.nvim" {:mod "dots.plugins.trouble"
:cmd ["Trouble" "TroubleClose" "TroubleRefresh" "TroubleToggle"]} :cmd ["Trouble" "TroubleClose" "TroubleRefresh" "TroubleToggle"]}
;:folke/lsp-trouble.nvim {:mod "dots.plugins.trouble"
;:cmd ["Trouble" "TroubleClose" "TroubleRefresh" "TroubleToggle"]}
:simrat39/symbols-outline.nvim {:mod "dots.plugins.symbols-outline"} :simrat39/symbols-outline.nvim {:mod "dots.plugins.symbols-outline"}
:neovim/nvim-lspconfig {} :neovim/nvim-lspconfig {}
;:hrsh7th/nvim-compe {:mod "dots.plugins.compe"} ;:hrsh7th/nvim-compe {:mod "dots.plugins.compe"}
:/home/leon/coding/prs/nvim-compe {:event [:InsertEnter] ;:/home/leon/coding/prs/nvim-compe {:event [:InsertEnter]
:mod "dots.plugins.compe"} ;:mod "dots.plugins.compe"}
:ms-jpq/coq_nvim {:mod "dots.plugins.coq-nvim"
:branch "coq"}
:ms-jpq/coq.artifacts {:branch "artifacts"}
@ -143,7 +150,9 @@
;:bhurlow/vim-parinfer {:ft ["fennel" "carp" "lisp" "elisp"]} ;:bhurlow/vim-parinfer {:ft ["fennel" "carp" "lisp" "elisp"]}
:eraserhd/parinfer-rust {:run "cargo build --release"} ;:eraserhd/parinfer-rust {:run "cargo build --release"}
"elkowar/parinfer-rust" {:run "cargo build --release"
:branch "configure-filetypes"}
:bduggan/vim-raku {:ft ["raku"]} :bduggan/vim-raku {:ft ["raku"]}
:LnL7/vim-nix {:ft ["nix"]} :LnL7/vim-nix {:ft ["nix"]}

View file

@ -0,0 +1,7 @@
(module dots.plugins.coq-nvim
{autoload {utils dots.utils
coq coq}})
;(set vim.g.coq_settings {:limits.completion_auto_timeout 1})
(vim.cmd "autocmd! InsertEnter * COQnow --shut-up")

View file

@ -8,6 +8,7 @@
:auto_preview true :auto_preview true
:auto_close true :auto_close true
:auto_open false :auto_open false
:auto_jump ["lsp_definitions" "lsp_workspace_diagnostics"]
:action_keys :action_keys
{:jump "o" {:jump "o"
:jump_close "<CR>" :jump_close "<CR>"

View file

@ -120,6 +120,7 @@
(set vim.g.conjure#client#fennel#aniseed#aniseed_module_prefix "aniseed.") (set vim.g.conjure#client#fennel#aniseed#aniseed_module_prefix "aniseed.")
(set vim.g.vim_parinfer_filetypes ["carp" "fennel" "clojure"]) (set vim.g.vim_parinfer_filetypes ["carp" "fennel" "clojure"])
(set vim.g.parinfer_additional_filetypes ["yuck"])
; foldend ; foldend