Skip to content

Commit

Permalink
fix(configs): do not pass filetype directly (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
ofseed committed Feb 24, 2024
1 parent 9960fd7 commit a133a7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/dropbar/configs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ M.opts = {
or (
buf
and vim.api.nvim_buf_is_valid(buf)
and (pcall(vim.treesitter.get_parser, buf, vim.bo[buf].ft))
and (pcall(vim.treesitter.get_parser, buf))
and true
or false
)
Expand Down

0 comments on commit a133a7d

Please sign in to comment.