aboutsummaryrefslogtreecommitdiff
path: root/util.lua
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2024-09-15 11:45:06 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2024-09-15 11:45:06 +0200
commit6f00edb9c20fc67a4379280617df842f3fe4d81d (patch)
tree4167e0e19616a6fd435cc778727d31b41b9f19d4 /util.lua
parentcb927930cafdd4e1686381035b88f9ee9e8e6692 (diff)
downloadvis-lspc-6f00edb9c20fc67a4379280617df842f3fe4d81d.tar.gz
vis-lspc-6f00edb9c20fc67a4379280617df842f3fe4d81d.zip
fix used quotes and remove old code in comments
Diffstat (limited to 'util.lua')
-rw-r--r--util.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.lua b/util.lua
index 363549e..3bdf227 100644
--- a/util.lua
+++ b/util.lua
@@ -77,7 +77,7 @@ end
-- @return the relative path
function util.get_relative_path(cwd_components, absolute_path_or_components)
local absolute_components
- if type(absolute_path_or_components) == "string" then
+ if type(absolute_path_or_components) == 'string' then
absolute_components = util.split_path_into_components(absolute_path_or_components)
else
absolute_components = absolute_path_or_components