Skip to content

Commit

Permalink
fix: ensure treesitter does not run on windows
Browse files Browse the repository at this point in the history
closes #193
  • Loading branch information
Saghen committed Oct 30, 2024
1 parent 82ce40c commit 2ac2f43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/blink/cmp/windows/lib/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ function win:get_buf()
self.buf = vim.api.nvim_create_buf(false, true)
vim.api.nvim_set_option_value('tabstop', 1, { buf = self.buf }) -- prevents tab widths from being unpredictable
vim.api.nvim_set_option_value('filetype', self.config.filetype, { buf = self.buf })
vim.treesitter.stop(self.buf)
end
return self.buf
end
Expand Down

0 comments on commit 2ac2f43

Please sign in to comment.