Skip to content

Commit

Permalink
feat!: Do not stop/start ltex from zen-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Allaman committed Jul 9, 2024
1 parent b4cfbf2 commit 17ea61e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lua/core/plugins/zen-mode.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,11 @@ return {
on_open = function(win)
vim.opt["conceallevel"] = 3
vim.opt["concealcursor"] = "nc"
utils.stopLSP("ltex")
end,
-- callback where you can add custom code when the Zen window closes
on_close = function()
vim.opt["conceallevel"] = 0
vim.opt["concealcursor"] = ""
utils.startLSP("ltex")
end,
},
}

0 comments on commit 17ea61e

Please sign in to comment.