damon-kwok / v-mode Goto Github PK
View Code? Open in Web Editor NEW๐ป An Emacs major mode for the V programming language.
Home Page: https://vlang.io
License: GNU General Public License v3.0
๐ป An Emacs major mode for the V programming language.
Home Page: https://vlang.io
License: GNU General Public License v3.0
I am using the latest release of v-mode
. It uses /*โฆ*/
for comments, but then v fmt
on saving immediately replaces them with //
comments. I suggest changing v-mode
to match v fmt
.
Thanks for v-mode
!
*.v
file, Emacs opens it with verilog-mode
instead of v-mode
. How can I get it to default to v-mode
?I tried installing this package from MELPA, but I don't see it anywhere. Searching for it on MELPA shows nothing. The link in the README file takes you to a 404 page. Is it actually on MELPA or does it need to be manually installed right now?
Error message:
ctags:/bin/bash: -c: line 1: syntax error near unexpected token `('
/bin/bash: -c: line 1: `ctags --languages=-v --langdef=v --langmap=v:.v --regex-v=/[ \t]*fn[ \t]+(.*)[ \t]+(.*)/\2/f,function/ --regex-v=/[ \t]*struct[ \t]+([a-zA-Z0-9_]+)/\1/s,struct/ --regex-v=/[ \t]*interface[ \t]+([a-zA-Z0-9_]+)/\1/i,interface/ --regex-v=/[ \t]*type[ \t]+([a-zA-Z0-9_]+)/\1/t,type/ --regex-v=/[ \t]*enum[ \t]+([a-zA-Z0-9_]+)/\1/e,enum/ --regex-v=/[ \t]*module[ \t]+([a-zA-Z0-9_]+)/\1/m,module/ -e -R . /home/user/src/v/vlib'
Iโm preparing a PR with a fix.
ctags is called with --languages=-v
- is there a ctags version that understands this option?
After following the install tutorial for use-package and sraight.el I'm not getting any auto completion and emacs is wanting to indent 12 spaces
The regexp "\.v?v\.vsh\'" in v-mode.el and README.md is incorrect -- that matches .v.vsh or .vv.vsh ... the correct pattern is
"\.v\(v?\|sh\)\'"
GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2022-05-31
trivial but often useful feature
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.