add lua ftplugin and which-key delay=0
This commit is contained in:
parent
69547b9cdb
commit
4df2ccabca
2 changed files with 7 additions and 0 deletions
4
nvim/ftplugin/lua.lua
Normal file
4
nvim/ftplugin/lua.lua
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
vim.bo.expandtab = true
|
||||
vim.bo.tabstop = 4
|
||||
vim.bo.shiftwidth = 4
|
||||
vim.bo.softtabstop = 4
|
||||
|
|
@ -20,6 +20,9 @@ return {
|
|||
'folke/which-key.nvim',
|
||||
event = 'VimEnter', -- Sets the loading event to 'VimEnter'
|
||||
opts = {
|
||||
-- delay between pressing a key and opening which-key (milliseconds)
|
||||
-- this setting is independent of vim.o.timeoutlen
|
||||
delay = 0,
|
||||
icons = {
|
||||
-- set icon mappings to true if you have a Nerd Font
|
||||
mappings = vim.g.have_nerd_font,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue