mirror of
https://github.com/Ascyii/telekasten.nvim.git
synced 2026-01-01 06:14:23 -05:00
Update telekasten.lua
Correct Stylua and Luacheck errors
This commit is contained in:
@@ -31,9 +31,9 @@ local function CleanPath(path)
|
|||||||
local windows_delim = "\\"
|
local windows_delim = "\\"
|
||||||
-- Returns the path delimeter for the machine
|
-- Returns the path delimeter for the machine
|
||||||
-- '\\' for Windows, '/' for Unix
|
-- '\\' for Windows, '/' for Unix
|
||||||
local system_delim = package.config:sub(1,1)
|
local system_delim = package.config:sub(1, 1)
|
||||||
local new_path_start
|
local new_path_start
|
||||||
|
|
||||||
-- Removes portion of path before '\\' for Windows machines
|
-- Removes portion of path before '\\' for Windows machines
|
||||||
-- since Telescope does not like that
|
-- since Telescope does not like that
|
||||||
if system_delim == windows_delim then
|
if system_delim == windows_delim then
|
||||||
|
|||||||
Reference in New Issue
Block a user