docs(vim.fs): normalize Windows example was incorrect (#21966)

This commit is contained in:
C.D. MacEachern
2023-01-24 17:45:30 -05:00
committed by GitHub
parent 9166116c67
commit 314d3ce1eb
2 changed files with 2 additions and 2 deletions

View File

@@ -2392,7 +2392,7 @@ normalize({path}) *vim.fs.normalize()*
Examples: >lua
vim.fs.normalize('C:\Users\jdoe')
vim.fs.normalize('C:\\Users\\jdoe')
--> 'C:/Users/jdoe'
vim.fs.normalize('~/src/neovim')

View File

@@ -282,7 +282,7 @@ end
---
--- Examples:
--- <pre>lua
--- vim.fs.normalize('C:\\Users\\jdoe')
--- vim.fs.normalize('C:\\\\Users\\\\jdoe')
--- --> 'C:/Users/jdoe'
---
--- vim.fs.normalize('~/src/neovim')