Merge pull request #11 from ppwwyyxx/patch-1

Enable for both lua and vim
This commit is contained in:
hrsh7th 2023-04-14 16:50:03 +09:00 committed by GitHub
commit f12408bdb5
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()