您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

15 行
371 B

  1. -- ec = require("editorconfig_core")
  2. function onViewOpen(view)
  3. -- Is this portable? (work on windows?)
  4. local pwd = os.getenv("PWD")
  5. local filename = view.Buf.Path
  6. -- prop, names = ec.parse(filepath)
  7. local fullpath = JoinPaths(pwd, filename)
  8. messenger:Message("view.Buf.Path: " .. fullpath)
  9. end
  10. function onSave(view)
  11. messenger:Message("Saved!")
  12. end