転ばぬ先の杖「vint」

151a0b14f5914e786e2e104cfb3a9b2f?s=47 Kuniwak
November 08, 2014

 転ばぬ先の杖「vint」

Vim の新しい lint 「vint」を紹介します。

English ver: https://speakerdeck.com/orgachem/vint-new-vim-script-lint

151a0b14f5914e786e2e104cfb3a9b2f?s=128

Kuniwak

November 08, 2014
Tweet

Transcript

  1. About me

  2. Kuniwak

  3. Today,
 I talk about…

  4. 'PSFXBSOFEJT GPSFBSNFE ʲస͹͵ઌͷ伺ʳ

  5. Lint tool for Vim script

  6. Story

  7. 7JNQMVHJOͭͬͯ͘Δͱ
 Ṗ͸·Γଟൃʜ

  8. None
  9. None
  10. ผʹ7JNTDSJQUͦΜͳʹ
 ޷͖͡Όͳ͍Μ͚ͩͲʜ

  11. ʗ XFMDPNF ʘ ʘXFMDPNFʗ ʘXFMDPNFʗ

  12. ࣮ߦ͢Δ·Ͱ΋ͳ͘
 ͸·ΓͲ͜ΖΛճආ͍ͨ͠

  13. 'PSFXBSOFEJT GPSFBSNFE ʲస͹͵ઌͷ伺ʳ

  14. Forewarned is forearmed

  15. None
  16. $ vint .vimrc .vimrc:6:10: Variable is not declared (see :help

    E738)
  17. Why vint?

  18. Lint possible story ʲlint ͋Δ͋Δʳ

  19. Stop the World Lint ʲβɾϫʔϧυ lintʳ

  20. Nagging Mom Lint ʲ͓͔Μ lintʳ

  21. Meaning less Lint ʲແ lintʳ

  22. Fastness Customizable Usefulness Kuniwak/
 vint A A A syngan/
 vim-vimlint

    C B A ujihisa/
 vimlint B B B dahu/
 VimLint B C B dbakker/
 vim-lint A C B
  23. How to install

  24. $ pip install vim-vint

  25. None
  26. $ vint .vimrc .vimrc:6:10: Variable is not declared (see :help

    E738)
  27. Dive into
 the Vint

  28. Maintainability

  29. MJOUʹ͸ͭͷ࣮૷ྨܕ͕͋Δɿ w ݕࠪखଓ͖ɾϧʔϧҰମܕ w ݕࠪखଓ͖ɾϧʔϧ෼཭ܕ

  30. この22つの類型を ある指標で
 比較してみよう…

  31. 「11つのルールを
 追加するのに
 何行読まないと
 いけないか」

  32. ݕࠪखଓ͖ɾϧʔϧҰମܕ w KTMJOUϑΝΠϧYMJOFT w KTIJOUϑΝΠϧYMJOFT w WJNWJNMJOUϑΝΠϧYMJOFT w QZqBLFTϑΝΠϧYMJOFT

  33. ݕࠪखଓ͖ɾϧʔϧ෼཭ܕ wߦΠϕϯτυϦϒϯ w QFQؔ਺YMJOFT w WJNMJOUϑΝΠϧYMJOFT w"45ΠϕϯτυϦϒϯʢߴ౓ͳνΣοΫ͕Մೳʣ w 1FSM$SJUJDϑΝΠϧYMJOFTʢQFSMͳͷͰهड़ྔ૿͑ͨʣ w

    SVCPDPQϑΝΠϧYMJOFT w FTMJOUϑΝΠϧYMJOFT w WJOUϑΝΠϧYMJOFT
  34. ͭ·Γ w ݕࠪखଓ͖ɾϧʔϧ׬શҰମܕ͸
 ΋͸΍ղಡෆೳ w ݕࠪखଓ͖ɾϧʔϧ෼཭ܕͷ͏ͪɺ
 "45ΠϕϯτυϦϒϯ͸είʔϓղੳ౳ͷ
 ߴ౓ͳνΣοΫ͕Մೳ

  35. How to add new rule

  36. Please ask me

  37. Help us!

  38. Forewarned is forearmed https://github.com/Kuniwak/vint