diff --git a/lua/cmp-dotenv/init.lua b/lua/cmp-dotenv/init.lua index b74a887..37d2fb7 100644 --- a/lua/cmp-dotenv/init.lua +++ b/lua/cmp-dotenv/init.lua @@ -21,7 +21,7 @@ source.new = function() end source.get_keyword_pattern = function() - return '\\$[^[:blank:]]*' + return [[\k\+]] end source._validate_option = function(_, params)