options: disable Kitty keyboard protocol
- Disables temporary Kitty keyboard protocol as Ghostty does not handle it properly. To be remove when Ghostty v1.4.0 reach my system updates. Co-Authored-by: iGor milhit <igor@milhit.ch>main
parent
a111e23eec
commit
89688c1a0c
|
|
@ -1,3 +1,14 @@
|
||||||
|
-- Disable Kitty keyboard protocol to prevent Ghostty from
|
||||||
|
-- duplicating characters on dead-key layouts (e.g. Swiss
|
||||||
|
-- French). Neovim 0.12+ enables key release events via this
|
||||||
|
-- protocol, which Ghostty mishandles for non-US layouts.
|
||||||
|
-- See: ghostty-org/ghostty#12433
|
||||||
|
vim.api.nvim_create_autocmd("VimEnter", {
|
||||||
|
callback = function()
|
||||||
|
io.write("\x1b[<u")
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
-- Search and replace
|
-- Search and replace
|
||||||
-- Ignore case except when using a capital case
|
-- Ignore case except when using a capital case
|
||||||
-- Highlight found occurrences
|
-- Highlight found occurrences
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,6 @@ return {
|
||||||
autopairs.setup({
|
autopairs.setup({
|
||||||
-- Enable treesitter
|
-- Enable treesitter
|
||||||
check_ts = true,
|
check_ts = true,
|
||||||
disable_filetype = { "TelescopePrompt" },
|
|
||||||
ts_config = {
|
ts_config = {
|
||||||
-- Don't add pairs in lua string treesitter nodes
|
-- Don't add pairs in lua string treesitter nodes
|
||||||
lua = { "string" },
|
lua = { "string" },
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue