Skip to content

Commit

Permalink
fix!
Browse files Browse the repository at this point in the history
  • Loading branch information
TwIStOy committed Nov 26, 2023
1 parent e9219e5 commit 69760db
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lua/ht/version.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
local M = {}

M.last_updated_time = '2023.11.25'
M.last_updated_time = '2023.11.26'

return M
5 changes: 4 additions & 1 deletion src/conf/ui/right-click.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,15 @@ function filterMenuItems(buffer: VimBuffer, items: MenuItem[]): MenuItem[] {
v.children = clearContiguousSeparators(
filterMenuItems(buffer, v.children)
);
if (v.children.length === 0) {
return false;
}
}
return true;
})
);
// clear last separator
if (ret[ret.length - 1].text.isSeparator()) {
if (ret.length > 0 && ret[ret.length - 1].text.isSeparator()) {
ret.pop();
}
return ret;
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"tstl": {
"luaTarget": "JIT",
"sourceMapTraceback": false,
"sourceMapTraceback": true,
"tstlVerbose": false,
"noImplicitSelf": true,
"luaPlugins": [
Expand Down

0 comments on commit 69760db

Please sign in to comment.