GithubHelp home page GithubHelp logo

fennel.vim's People

Contributors

bakpakin avatar jaawerth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

fennel.vim's Issues

Push to vim

Can you try pushing syntax, indent and ftdetect to vim?

The dot and the colon shouldn't be part of iskeyword

Currently this plugin has:

setlocal iskeyword=!,$,%,#,*,+,-,.,/,:,<,=,>,?,_,a-z,A-Z,48-57,128-247,124,126,38,94

I don't think the . or the : should be in here, since they have special meaning on fennel, not being part of keyword symbols.
This ends up messsing with the word jumping mechanism:

(print some-table.some-field.some-sub-field)
;;     ^ the cursor is here

;; upon pressing `w`:

(print some-table.some-field.some-sub-field)
;;                      the cursor is here ^

And also the completion mechanism:

(my-table.some_field)

(my-table:some_method)

(my-table+--------------------+ ;; I want my-table, some_field or some_method, not pairs of them!
         |my-table.some_field |
         |my-table:some_method|
         +--------------------+

Are `if`, `do`, and `with-open` indenting correctly?

Should we review how if, do, and with-open are indented?

Currently, they indent like this, if using two-space indentation:

(do (print "test")
  (print "test2")
  (print "test3"))

(with-open [file-out (io.open "test.txt" :w)]
           (file-out:write data))

(if (some-function :test)
  (another-function :test2)
  (yet-another-function :test3))

If this is the intended behaviour, please ignore or close this! <3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.