mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-07-11 18:04:25 +02:00
enc: add file type definition
This commit is contained in:
parent
2ab92b6e94
commit
a4e2d9ec21
3 changed files with 5 additions and 1 deletions
|
@ -176,6 +176,9 @@ local function show_keymaps_popup()
|
|||
vim.api.nvim_buf_set_option(buf, "modifiable", false)
|
||||
vim.api.nvim_buf_set_option(buf, "bufhidden", "wipe")
|
||||
|
||||
-- Set the buffer's filetype to 'keymaps_table'
|
||||
vim.api.nvim_buf_set_option(buf, "filetype", "keymaps_table")
|
||||
|
||||
-- highlight section titles
|
||||
for i, l in ipairs(hls) do
|
||||
for _, v in ipairs(l) do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue