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('let g:python3_host_prog="/usr/bin/python"')
|
||||||
vim.cmd('source ~/.vimrc"')
|
vim.cmd('source ~/.vimrc"')
|
||||||
|
|
||||||
|
require("tts").setup()
|
||||||
|
|
||||||
|
|
||||||
-- Enable LSPs
|
-- Enable LSPs
|
||||||
vim.lsp.enable('bashls')
|
vim.lsp.enable('bashls')
|
||||||
@@ -10,6 +12,7 @@ vim.lsp.enable('clangd')
|
|||||||
vim.lsp.enable('cmake')
|
vim.lsp.enable('cmake')
|
||||||
vim.lsp.enable('jdtls')
|
vim.lsp.enable('jdtls')
|
||||||
vim.lsp.enable('jedi_language_server')
|
vim.lsp.enable('jedi_language_server')
|
||||||
|
vim.lsp.enable('ltex_plus')
|
||||||
vim.lsp.enable('lua_ls')
|
vim.lsp.enable('lua_ls')
|
||||||
vim.lsp.enable('texlab')
|
vim.lsp.enable('texlab')
|
||||||
vim.lsp.enable('zls')
|
vim.lsp.enable('zls')
|
||||||
@@ -41,10 +44,26 @@ vim.lsp.config("zls", {
|
|||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
-- vim.lsp.config("jdtls", {
|
local languagetool_api_key = vim.fn.system(
|
||||||
-- settings = {
|
{
|
||||||
-- java = {
|
"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 vim=nvim
|
||||||
alias radio="mpv https://radio.freenode.net/radio.ogg --volume=30"
|
alias radio="mpv https://radio.freenode.net/radio.ogg --volume=30"
|
||||||
alias calc="calcurse-caldav && calcurse && calcurse-caldav"
|
alias calc="calcurse-caldav && calcurse && calcurse-caldav"
|
||||||
|
alias scli="scli --save-history"
|
||||||
|
|
||||||
# Theming section
|
# Theming section
|
||||||
autoload -U compinit colors zcalc
|
autoload -U compinit colors zcalc
|
||||||
|
|||||||
Reference in new issue
Block a user