mirror of
https://github.com/Ascyii/telekasten.nvim.git
synced 2026-01-01 14:14:24 -05:00
Fix #70 Cleaned Windows Home Paths
Added the function `CleanPath()` to clean up Windows paths for setting up home. Still some other issues (primarily with reading links) that need to be ironed out.
This commit is contained in:
@@ -24,7 +24,7 @@ local Path = require("plenary.path")
|
|||||||
local vim = vim
|
local vim = vim
|
||||||
|
|
||||||
-- Cleans home path for Windows users
|
-- Cleans home path for Windows users
|
||||||
-- Needs to be before default config, else with no use config
|
-- Needs to be before default config, else with no user config
|
||||||
-- home will not be cleaned and issues will still occur
|
-- home will not be cleaned and issues will still occur
|
||||||
local function CleanPath(path)
|
local function CleanPath(path)
|
||||||
-- File path delimeter for Windows machines
|
-- File path delimeter for Windows machines
|
||||||
|
|||||||
Reference in New Issue
Block a user