Code Monkey home page Code Monkey logo

vim-v's Introduction

vim-v

A demo code sample.

colorscheme: Iceberg โ€‚|โ€‚ font: Hack

Features

  • Full syntax highlighting
  • Auto-indentation and syntactic folding
  • Optional highlighting of some syntax errors

Installation

The recommended way of installing plugins is through a plugin manager.

With dein.vim:

dein#add('cheap-glitch/vim-v')

With vim-plug:

Plug 'cheap-glitch/vim-v'

Usage

Display warnings for invalid C-like syntax

The syntax of V is very similar to that of C and C-like languages, but there are nonetheless some significant differences. To help you avoid using invalid C-style syntax out of habit, you can activate the option to highlight some syntax errors by adding this line anywhere in your .vimrc or init.vim:

let g:v_warnings = 1

Contributing

Contributions are welcomed! Please open an issue before submitting substantial changes.

Acknowledgments

The first version of this plugin was based on v.vim by andreyrmg.

License

ISC

vim-v's People

Contributors

cheap-glitch avatar sudo-nice avatar zakuro9715 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

Watchers

 avatar  avatar  avatar

vim-v's Issues

Issues with markdown

Hey @cheap-glitch , great job on this, the quality of the plugin is amazing. Thanks a lot.

After installation and enabling vlang g:markdown_fenced_languages, syntax highlight of markdown file breaks with no syntax highlighting

let g:markdown_fenced_languages = [
      \ "html",
      \ "viml=vim",
      \ "go",
      \ "lua",
      \ "v",
      \ "vlang",
      \ "bash=sh",
      \ "clj=clojure",
      \ "js=javascript",
      \ "ruby",
      \]

I have a lot of markdown blocks with vlang, so it would be awesome to not have to change them. Also is it okay that I manually downloaded vim-v and add it to my pack start path

Thanks

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.