v-mode

所属分类:collect
开发工具:Emacs Lisp
文件大小:0KB
下载次数:0
上传日期:2022-10-07 06:47:47
上 传 者sh-1993
说明:  V编程语言的Emacs主模式。,
(An Emacs major mode for the V programming language.,)

文件列表:
.editorconfig (873, 2022-10-06)
AUTHORS (36, 2022-10-06)
CONTRIBUTING.md (1757, 2022-10-06)
COPYING (35147, 2022-10-06)
screenshot.png (48159, 2022-10-06)
v-mode.el (17514, 2022-10-06)

Emacs Logo [![GitHub license](https://img.shields.io/github/license/damon-kwok/v-mode?logo=gnu&.svg)](https://github.com/damon-kwok/v-mode/blob/master/COPYING) [![Sponsor](https://img.shields.io/badge/Support%20Me-%F0%9F%92%97-ff69b4.svg)](https://www.patreon.com/DamonKwok) [![MELPA](http://melpa.org/packages/v-mode-badge.svg)](http://melpa.org/#/v-mode) # V Mode An Emacs major mode for the [V](https://vlang.io/) programming language. - Screenshot ![screenshot](https://github.com/damon-kwok/v-mode/blob/master/screenshot.png) ## Features - [x] Syntax highlighting (font-lock) - [x] Indentation - [x] Workspace support - [x] Auto format on save - [x] Compilation integration - [x] Code navigation (using `imenu`) - [x] Go to definition (using `ctags`) - [x] Code completion (using `company-mode`) - [ ] REPL ## Installation ### Using MELPA This package can be obtain from [MELPA](http://melpa.org/#/v-mode) or [MELPA Stable](http://stable.melpa.org/#/v-mode). 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). ```elisp (require 'v-mode) (define-key v-mode-map (kbd "M-z") 'v-menu) (define-key v-mode-map (kbd "") 'v-menu) (define-key v-mode-map (kbd "C-c C-f") 'v-format-buffer) ``` ### Using [use-package](https://github.com/jwiegley/use-package) and [straight.el](https://github.com/raxod502/straight.el) ```elisp (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) ("" . v-menu) ("C-c C-f" . v-format-buffer) :mode ("\\(\\.v?v\\|\\.vsh\\)$" . 'v-mode)) ```

近期下载者

相关文件


收藏者