Add languagetool|
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
-- Autocmds are automatically loaded on the VeryLazy event
|
||||
-- Default autocmds that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua
|
||||
-- Add any additional autocmds here
|
||||
|
||||
vim.api.nvim_create_autocmd({ "Filetype" }, {
|
||||
pattern = { "tex" },
|
||||
callback = function()
|
||||
vim.cmd("LanguageToolSetUp")
|
||||
end,
|
||||
})
|
||||
|
||||
@@ -6,3 +6,5 @@ local opt = vim.opt
|
||||
|
||||
opt.spelllang = { "en_us", "de_de" }
|
||||
vim.api.nvim_set_option_value("colorcolumn", "79", {})
|
||||
|
||||
vim.g.languagetool_server_command = "/usr/bin/languagetool --http"
|
||||
|
||||
Reference in New Issue
Block a user