Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit 470d820

Browse files
committed
fix: fix issue causing truncation to be disabled in Linux
1 parent 9c193bc commit 470d820

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lua/feline/statusline_ffi.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
-- Since LuaJIT FFI doesn't work properly on Windows when referring to Neovim internals,
44
-- return dummy functions instead on Windows.
5-
if vim.fn.has('win32') then
5+
if vim.fn.has('win32') == 1 then
6+
print('a')
67
return {
78
get_statusline_expr_width = function(_)
89
return 0

0 commit comments

Comments
 (0)