feat: run pre-commit
This commit is contained in:
parent
657575ae30
commit
8f4693452a
4 changed files with 7 additions and 4 deletions
|
|
@ -25,7 +25,10 @@ local function init()
|
|||
local user_config = vim.g.live_server or {}
|
||||
config = vim.tbl_deep_extend('force', defaults, user_config)
|
||||
|
||||
if not vim.fn.executable('live-server') and not (is_windows() and vim.fn.executable('live-server.cmd')) then
|
||||
if
|
||||
not vim.fn.executable('live-server')
|
||||
and not (is_windows() and vim.fn.executable('live-server.cmd'))
|
||||
then
|
||||
log('live-server is not executable. Ensure the npm module is properly installed', 'ERROR')
|
||||
return false
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue