Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
 

15 righe
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