8000 GitHub - 3L0C/wks-mode: Emacs mode for syntax highlighting wk's .wks files.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

3L0C/wks-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

wks-mode

An Emacs major-mode for syntax highlighting wk's .wks files.

Installation

package-vc

If you are on Emacs 29 and newer, you can use package-vc-install:

(package-vc-install
 '(wks-mode . (:url "https://github.com/3L0C/wks-mode")))

vc-use-package provides use-package integration, if that's your thing.

(use-package wks-mode
  :vc (:fetcher github :repo 3L0C/wks-mode))

Alternatively, if you're on Emacs 30, a :vc keyword is built into use-package:

(use-package kbd-mode
  :vc (:url "https://github.com/3L0C/wks-mode" :rev :newest))

Manually

Copy wks-mode.el into a directory within your load-path and require it. For example, assuming that this file was placed within the ~/.config/emacs/elisp directory:

(add-to-list 'load-path "~/.config/emacs/elisp/")
(require 'wks-mode)

If you use use-package, you can express the above as

(use-package wks-mode
  :load-path "~/.config/emacs/elisp/")

Spacemacs

If you use Spacemacs, add the following in the dotspacemacs-additional-packages section:

(wks-mode
 :location
 (recipe
  :fetcher github
  :repo "3L0C/wks-mode"))

Doom Emacs

If you use Doom Emacs, add the followings in the packages.el and config.el respectively.

(package! wks-mode
  :recipe (:host github
           :repo "3L0C/wks-mode"))
(use-package! wks-mode)

Acknowledgments

My thanks to

  • Xah Lee who showed me how to create a major mode package with his tutorial.
  • The zig-mode devs for their very readable major mode.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

About

Emacs mode for syntax highlighting wk's .wks files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0