基础插件管理

This commit is contained in:
2025-07-14 18:31:16 +08:00
parent b2b778feba
commit 446b801c05
9 changed files with 255 additions and 1 deletions

View File

@ -0,0 +1,13 @@
vim9script
export def IsOsWindows(): bool
return has('win32')
enddef
export def GetFileSeparator(): string
return IsOsWindows() ? '\' : '/'
enddef
export def GetLineSeparator(): string
return IsOsWindows() ? "\r\n" : "\n"
enddef