mirror of
https://github.com/zoriya/flake.git
synced 2026-08-15 18:43:42 +00:00
Remove path completion in strings
This commit is contained in:
@@ -43,7 +43,7 @@ return {
|
||||
sources = {
|
||||
default = function()
|
||||
local success, node = pcall(vim.treesitter.get_node)
|
||||
if success and node and (string.find(node:type(), "comment") or string.find(node:type(), "string")) then
|
||||
if success and node and string.find(node:type(), "comment") then
|
||||
return { "lsp", "path", "buffer" }
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user