scli save history
This commit is contained in:
1 parent
a789e543af
commit
0c3a175115
2 files changed
+27
-7
No files matched your search
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user