mirror of
https://github.com/neovim/neovim.git
synced 2025-11-21 09:36:29 +00:00
refactor(lua): use vim.system #34707
This commit is contained in:
committed by
GitHub
parent
54b8c99e51
commit
35af766de6
@@ -6,7 +6,7 @@
|
||||
--- Example:
|
||||
---
|
||||
--- ```lua
|
||||
--- local v = vim.version.parse(vim.fn.system({'tmux', '-V'}), {strict=false})
|
||||
--- local v = vim.version.parse(vim.system({'tmux', '-V'}):wait().stdout, {strict=false})
|
||||
--- if vim.version.gt(v, {3, 2, 0}) then
|
||||
--- -- ...
|
||||
--- end
|
||||
|
||||
Reference in New Issue
Block a user