Skip to content

Commit

Permalink
fix: new regex keyword pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioRibera committed Dec 26, 2023
1 parent 10a86d8 commit 0848a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/cmp-dotenv/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ source.new = function()
end

source.get_keyword_pattern = function()
return '\\$[^[:blank:]]*'
return [[\k\+]]
end

source._validate_option = function(_, params)
Expand Down

0 comments on commit 0848a4f

Please sign in to comment.