diff options
| author | Lewis Russell <lewis6991@gmail.com> | 2024-04-26 14:07:47 +0100 |
|---|---|---|
| committer | Lewis Russell <me@lewisr.dev> | 2024-04-26 15:13:06 +0100 |
| commit | b8273c9a339626078d49e706d882878090b07d42 (patch) | |
| tree | 92684f3aff0b70b317119f1b955e93b5a25b7e90 /runtime/lua/vim/_inspector.lua | |
| parent | c5b9fb2f256516398592c81f496dae75a036b18e (diff) | |
| download | rneovim-b8273c9a339626078d49e706d882878090b07d42.tar.gz rneovim-b8273c9a339626078d49e706d882878090b07d42.tar.bz2 rneovim-b8273c9a339626078d49e706d882878090b07d42.zip | |
fix: lua annotations
Diffstat (limited to 'runtime/lua/vim/_inspector.lua')
| -rw-r--r-- | runtime/lua/vim/_inspector.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/lua/vim/_inspector.lua b/runtime/lua/vim/_inspector.lua index afbd6211cd..f5d1640c82 100644 --- a/runtime/lua/vim/_inspector.lua +++ b/runtime/lua/vim/_inspector.lua @@ -55,8 +55,8 @@ function vim.inspect_pos(bufnr, row, col, filter) bufnr = bufnr == 0 and vim.api.nvim_get_current_buf() or bufnr local results = { - treesitter = {}, - syntax = {}, + treesitter = {}, --- @type table[] + syntax = {}, --- @type table[] extmarks = {}, semantic_tokens = {}, buffer = bufnr, @@ -93,7 +93,7 @@ function vim.inspect_pos(bufnr, row, col, filter) end -- namespace id -> name map - local nsmap = {} + local nsmap = {} --- @type table<integer,string> for name, id in pairs(vim.api.nvim_get_namespaces()) do nsmap[id] = name end |