Enable for both lua and vim

This commit is contained in:
Yuxin Wu 2023-04-14 00:46:58 -07:00 committed by GitHub
parent f3491638d1
commit 6decbe2d2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ source.new = function()
end
source.is_available = function()
return vim.bo.filetype == 'lua'
return vim.bo.filetype == 'lua' or vim.bo.filetype == 'vim'
end
source.get_keyword_pattern = function()