All Projects â†’ damon-kwok â†’ v-mode

damon-kwok / v-mode

Licence: GPL-3.0 license
🌻 An Emacs major mode for the V programming language.

Programming Languages

emacs lisp
2029 projects

Projects that are alternatives of or similar to v-mode

vredis
Redis client for V, written in V
Stars: ✭ 43 (-12.24%)
Mutual labels:  v, vlang
vave
🌊 A crazy simple library for reading/writing WAV files in V. Zero dependencies, 100% cross-platform.
Stars: ✭ 35 (-28.57%)
Mutual labels:  v, vlang
boundstone
High Performance / Fast Compilation / Lightweight MCBE Server
Stars: ✭ 42 (-14.29%)
Mutual labels:  v, vlang
discord.v
Discord Bot Framework written in V
Stars: ✭ 83 (+69.39%)
Mutual labels:  v, vlang
kate-syntax-highlight-v
Syntax highlighting of V files for the Kate editor
Stars: ✭ 17 (-65.31%)
Mutual labels:  v, vlang
jni
V wrapper around the C Java Native Interface
Stars: ✭ 15 (-69.39%)
Mutual labels:  v, vlang
vast
A simple tool for vlang, generate v source file to AST json file
Stars: ✭ 23 (-53.06%)
Mutual labels:  v, vlang
vargs
Simple argument parsing library for V.
Stars: ✭ 36 (-26.53%)
Mutual labels:  v, vlang
termtable
Simple and highly customizable library to display tables in the terminal.
Stars: ✭ 41 (-16.33%)
Mutual labels:  v, vlang
minesweeper-v
Minesweeper Written in Vlang
Stars: ✭ 19 (-61.22%)
Mutual labels:  v, vlang
vbf
A brainfuck interpreter/compiler written in V.
Stars: ✭ 17 (-65.31%)
Mutual labels:  v, vlang
v2048
A simple game of 2048, written in V.
Stars: ✭ 19 (-61.22%)
Mutual labels:  v, vlang
registry
Package registry for vpkg
Stars: ✭ 13 (-73.47%)
Mutual labels:  v, vlang
vinix
Vinix is an effort to write a modern, fast, and useful operating system in the V programming language
Stars: ✭ 1,512 (+2985.71%)
Mutual labels:  v, vlang
Psc Ide Emacs
Emacs integration for PureScript's psc-ide tool.
Stars: ✭ 130 (+165.31%)
Mutual labels:  emacs-mode
groovy-emacs-modes
A groovy major mode, grails minor mode, and a groovy inferior mode.
Stars: ✭ 76 (+55.1%)
Mutual labels:  emacs-mode
Emacs Solidity
The official solidity-mode for EMACS
Stars: ✭ 120 (+144.9%)
Mutual labels:  emacs-mode
Graphql Mode
An Emacs mode for GraphQL
Stars: ✭ 120 (+144.9%)
Mutual labels:  emacs-mode
demangle-mode
Emacs minor mode that automatically demangles C++, D, and Rust symbols
Stars: ✭ 18 (-63.27%)
Mutual labels:  emacs-mode
tla-tools
TLA+ tools for Emacs
Stars: ✭ 27 (-44.9%)
Mutual labels:  emacs-mode

Emacs Logo GitHub license Sponsor MELPA

V Mode

An Emacs major mode for the V programming language.

  • Screenshot

screenshot

Features

  • Syntax highlighting (font-lock)
  • Indentation
  • Workspace support
  • Auto format on save
  • Compilation integration
  • Code navigation (using imenu)
  • Go to definition (using ctags)
  • Code completion (using company-mode)
  • REPL

Installation

Using MELPA

This package can be obtain from MELPA or MELPA Stable. The master branch is continuously deployed to MELPA, and released versions are deployed to MELPA Stable.

M-x package-install [RET] v-mode [RET]

Right now v-mode doesn't take a lot of configuration (i.e. it's too simple to need any).

(require 'v-mode)
(define-key v-mode-map (kbd "M-z") 'v-menu)
(define-key v-mode-map (kbd "<f6>")  'v-menu)
(define-key v-mode-map (kbd "C-c C-f") 'v-format-buffer)

Using use-package and straight.el

(use-package v-mode
  :straight (v-mode
             :type git
             :host github
             :repo "damon-kwok/v-mode"
             :files ("tokens" "v-mode.el"))
  :config
  :bind-keymap
  ("M-z" . v-menu)
  ("<f6>" . v-menu)
  ("C-c C-f" . v-format-buffer)
  :mode ("\\(\\.v?v\\|\\.vsh\\)$" . 'v-mode))
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].