This repository has been archived on 2024-04-07. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/dotfiles/kak/plug.kak

42 lines
966 B
Plaintext
Raw Normal View History

2020-11-14 20:53:21 +01:00
# {{@@ header() @@}}
2021-02-14 19:20:06 +01:00
nop %sh{
2021-02-17 01:22:05 +01:00
PLUG_DIR="${HOME}/.cache/kakoune_plugins"
2021-02-14 19:20:06 +01:00
REPO="https://github.com/robertmeta/plug.kak.git"
mkdir -p "$PLUG_DIR"
2020-11-14 20:53:21 +01:00
2021-02-14 19:20:06 +01:00
test -d "${PLUG_DIR}/plug.kak" ||
git clone "$REPO" "${PLUG_DIR}/plug.kak"
}
2021-02-17 01:22:05 +01:00
source %sh{ echo "${HOME}/.cache/kakoune_plugins/plug.kak/rc/plug.kak" }
2020-11-15 00:06:22 +01:00
2021-02-17 01:22:05 +01:00
plug "robertmeta/plug.kak" noload config %{
# Auto install every pluging
set-option global plug_always_ensure true
set-option global plug_install_dir %sh{ echo "${HOME}/.cache/kakoune_plugins" }
}
2021-02-14 19:20:06 +01:00
2021-02-17 01:22:05 +01:00
plug 'alexherbo2/prelude.kak'
plug 'alexherbo2/auto-pairs.kak' config %{
2021-02-14 19:20:06 +01:00
require-module 'prelude'
require-module 'auto-pairs'
auto-pairs-enable
2021-02-17 01:22:05 +01:00
}
plug 'h-youhei/kakoune-surround'
2021-02-14 19:20:06 +01:00
2021-02-17 01:22:05 +01:00
plug 'delapouite/kakoune-palette'
plug 'insipx/kak-crosshairs' config %{
2021-02-14 19:20:06 +01:00
cursorline
2021-02-17 01:22:05 +01:00
}
2021-02-14 19:20:06 +01:00
2021-02-17 01:22:05 +01:00
plug 'kak-lsp/kak-lsp' config %{
2021-02-14 19:20:06 +01:00
# LSP
lsp-auto-hover-enable
set global lsp_hover_max_lines 10
2021-02-21 05:33:59 +01:00
lsp-inlay-diagnostics-enable global
2020-11-15 00:06:22 +01:00
}
2021-02-14 19:20:06 +01:00