scli save history

This commit is contained in:
Anthony Debucquoy committed 2026-11-09 09:29:53 +01:00
1 parent 4fbcccf4eb
commit 7003d05fa3
2 files changed
+27 -7

No files matched your search

+26 -7
View File
@@ -3,6 +3,8 @@ vim.cmd('let &packpath = &runtimepath')
vim.cmd('let g:python3_host_prog="/usr/bin/python"')
vim.cmd('source ~/.vimrc"')
require("tts").setup()
-- Enable LSPs
vim.lsp.enable('bashls')
@@ -10,6 +12,7 @@ vim.lsp.enable('clangd')
vim.lsp.enable('cmake')
vim.lsp.enable('jdtls')
vim.lsp.enable('jedi_language_server')
vim.lsp.enable('ltex_plus')
vim.lsp.enable('lua_ls')
vim.lsp.enable('texlab')
vim.lsp.enable('zls')
@@ -41,10 +44,26 @@ vim.lsp.config("zls", {
end
})
-- vim.lsp.config("jdtls", {
-- settings = {
-- java = {
--
-- }
-- }
-- })
local languagetool_api_key = vim.fn.system(
{
"kwallet-query",
"--folder", "Passwords",
"--read-password", "languagetool",
"kdewallet"
})
if vim.v.shell_error ~= 0 then
error("Could not read credential from KWallet: " .. entry)
end
vim.lsp.config("ltex_plus",{
settings = {
ltex = {
language = "fr-BE",
languageToolHttpServerUri = "https://api.languagetoolplus.com",
languageToolOrg = {
username = "d.tonitch@gmail.com",
apiKey = vim.trim(languagetool_api_key)
}
}
}
})
+1
View File
@@ -74,6 +74,7 @@ alias :q=exit
alias vim=nvim
alias radio="mpv https://radio.freenode.net/radio.ogg --volume=30"
alias calc="calcurse-caldav && calcurse && calcurse-caldav"
alias scli="scli --save-history"
# Theming section
autoload -U compinit colors zcalc