Code Monkey home page Code Monkey logo

Comments (7)

elbrujohalcon avatar elbrujohalcon commented on August 30, 2024

I don't, but maybe @igaray (a vim user) knows?

from erlang_guidelines.

igaray avatar igaray commented on August 30, 2024

I previously used vimerl (defunct and now superceded by https://github.com/vim-erlang) and Csaba's plugin (can't find it, maybe @elbrujohalcon can ask), but guideline enforcement was manual, except for setting indentation to 2 spaces for most projects.

from erlang_guidelines.

elbrujohalcon avatar elbrujohalcon commented on August 30, 2024

I can't find @hcs42's plugin, but I found @hcs42 :P

from erlang_guidelines.

igaray avatar igaray commented on August 30, 2024

@benoitc in any case, if it's of any interest to you at all, here is my vim config, but it's not erlang nor erlang-guideline specific.

from erlang_guidelines.

benoitc avatar benoitc commented on August 30, 2024

@igaray ok thanks. looking at it

from erlang_guidelines.

cloud8421 avatar cloud8421 commented on August 30, 2024

@benoitc I'm using a few plugins to have syntax, some generators and inline syntax checks, see here for their names (they're all well documented - @elbrujohalcon they're the ones from @hcs42 )

from erlang_guidelines.

hcs42 avatar hcs42 commented on August 30, 2024

The vim-erlang-runtime repository contains the syntax highlight and indentation plugins for Vim. These plugins have been included in Vim since 2013 and haven't changed much since late 2014, so you don't need to install them if you have a reasonably recent Vim.

The syntax highlight plugin doesn't have much to do with coding conventions. It tries its best to highlight any Erlang source file; it won't highlight possible problems or instances of breaking the guideline.

The indentation follows the Emacs indentation style (with a few notable exceptions), which is a convention in itself. The Inaka guidelines mention only two things regarding indentation ("Spaces over tabs, 2 space indentation"). These are both configurable on the Vim level, and any indentation plugin will respect that.

In short, there is no Vim plugin in vim-erlang related to these guidelines.

from erlang_guidelines.

Related Issues (20)

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.