Giter Site home page Giter Site logo

danidiaz / vim-haskell-pica-filetypes Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 16 KB

Vim filetype detection for some Haskell file types.

License: BSD 3-Clause "New" or "Revised" License

Vim Script 100.00%
vim haskell cabal filetypes syntax-highlighting vim-plugin

vim-haskell-pica-filetypes's Introduction

vim-haskell-pica-filetypes

Vim filetype detection and syntax highlighting for Haskell-related filetypes that do not have them configured out-of-the-box.

filetype detection

Filetype detection for the following files:

  • cabal.project and cabal.project.local as filetype cabal-project
  • cabal.config and */cabal/config as filetype cabal-config
  • GHC package environment files as filetype ghc-env

syntax highlighting

Basic syntax highlighting for the following filetypes:

  • cabal-project
  • cabal-config
  • ghc-env

changes to 'iskeyword'

The single quote ' is added to 'iskeyword' for the following filetypes:

  • haskell

The hypen - is added to 'iskeyword' for the following filetypes:

  • cabal
  • cabal-project
  • cabal-config
  • ghc-env

'iskeyword' affects the behaviour of commands like normal mode w. See :h 'iskeyword'.

stuff I found useful while writing this plugin

vim-haskell-pica-filetypes's People

Contributors

danidiaz avatar

Watchers

 avatar  avatar  avatar

vim-haskell-pica-filetypes's Issues

add iskeyword tweaks

Add iskeyword tweaks for

  • haskell files: allow single quotes '
  • cabal files, cabal.project files, cabal.config files: allow hypens -

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.