Closed agoodfellow123 closed 4 months ago
Hi!
About which-key
see here.
By subject:
use_layouts = {tr}, -- Should be string with layout ID, not a langmap values, e.g. {"tr"}
layouts = {
tr = {
id = 'tr', -- This is ID
layout = [[éQWERTYUIOPĞÜASDFGHJKLŞİ;ZXCVBNMÖÇ:"qwertyuıopğüasdfghjklşi,zxcvbnmöç.]],
default_layout = tr, -- Remove this line, you already set default layout above
},
Hello, thank you for your answer. I have set the config as you suggested unfortunately it still gives the same warning:
use_layouts = {"tr"},
layouts = {
tr = {
id = 'tr',
layout = [[éQWERTYUIOPĞÜASDFGHJKLŞİ;ZXCVBNMÖÇ:"qwertyuıopğüasdfghjklşi,zxcvbnmöç.]],
},
Just for good measure, I count the characters again, both layouts has 70 characters, so perhaps there is an escape character in one of the layouts? I tried adding \\
instead of \
unfortunately that didn't change anything.
As for whichkey, I don't want to make it english I just want to make it use the same bindings as the other modes use, for example Ş
in Turkish keyboard is :
in English keyboard and I use that in normal mod to get in command mod, so I want whichkey to show Ş
instead instead of :
.
Fixed the wrong number of characters bug and along the way a few other issues that came up when using the Turkish layout.
About which-key
: I don't use which-key
, so I can't help you to customize the display of Turkish characters only.
Hi there, anytime I open my neovim I get a non-descriptive error about there being different amount of characters in my layout and default layout. Plus to that when I press space and enter whickey mode it defaults back to default keyboard. Which I think is connected to this problem, here is the entire lua file: