https://github.com/10sr/editorconfig-charset-extras-el
EditorConfig Extra Charset Support
https://github.com/10sr/editorconfig-charset-extras-el
Last synced: 3 months ago
JSON representation
EditorConfig Extra Charset Support
- Host: GitHub
- URL: https://github.com/10sr/editorconfig-charset-extras-el
- Owner: 10sr
- License: unlicense
- Created: 2017-05-02T14:00:17.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-03-31T13:34:13.000Z (about 6 years ago)
- Last Synced: 2025-12-09T10:46:08.671Z (6 months ago)
- Language: Emacs Lisp
- Homepage: https://melpa.org/#/editorconfig-charset-extras
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://melpa.org/#/editorconfig-charset-extras)
editorconfig-charset-extras.el
==============================
Extra EditorConfig Charset Support
Overview
--------
This library adds extra charset supports to editorconfig-emacs.
The list of supported charsets is taken from the result of
`coding-system-list'.
For example, add following to your `.editorconfig`
and `sjis.txt` will be opend with `sjis' encoding:
[sjis.txt]
charset = sjis
Alternatively, you can specify `emacs_charset` as:
[sjis.txt]
emacs_charset = sjis
If both `charset' and `emacs_charset' are defined, the value of
`emacs_charset' takes precedence.
To enable this editorconfig plugin, add following to your init.el:
(add-hook 'editorconfig-custom-hooks
'editorconfig-charset-extras)
License
-------
This software is unlicensed.