mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
52d9d7946f
Add basic support for highlighting Ngspice/SPICE (http://ngspice.sourceforge.net/) circuit description files syntax. Two main contexts are defined: - the default context, where the circuit is described, - the control script context (between .control and .endc). The default context highlights dot commands, circuit element instance names and model types. The control script context highlights supported functions/commands and known variables. Both contexts highlight comments and line continuation marks. Other than two FIXMEs, it is a known issue the first line of the file is part of the default context, while in most cases it would contain the file title. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
110 lines
1.8 KiB
Makefile
110 lines
1.8 KiB
Makefile
SYNTAX_IN = Syntax.in
|
|
|
|
SYNTAX_OUT = Syntax
|
|
|
|
SYNTAXFILES = \
|
|
PKGBUILD.syntax \
|
|
ada95.syntax \
|
|
as.syntax \
|
|
aspx.syntax \
|
|
assembler.syntax \
|
|
awk.syntax \
|
|
c.syntax \
|
|
cabal.syntax \
|
|
changelog.syntax \
|
|
cmake.syntax \
|
|
cobol.syntax \
|
|
cs.syntax \
|
|
css.syntax \
|
|
cuda.syntax \
|
|
cxx.syntax \
|
|
cython.syntax \
|
|
d.syntax \
|
|
debian-changelog.syntax \
|
|
debian-control.syntax \
|
|
debian-description.syntax \
|
|
debian-sources-list.syntax \
|
|
diff.syntax \
|
|
dlink.syntax \
|
|
dos.syntax \
|
|
ebuild.syntax \
|
|
eiffel.syntax \
|
|
erlang.syntax \
|
|
f90.syntax \
|
|
filehighlight.syntax \
|
|
fortran.syntax \
|
|
glsl.syntax \
|
|
go.syntax \
|
|
haskell.syntax \
|
|
hive.syntax \
|
|
html.syntax \
|
|
idl.syntax \
|
|
ini.syntax \
|
|
j.syntax \
|
|
jal.syntax \
|
|
java.syntax \
|
|
js.syntax \
|
|
json.syntax \
|
|
kotlin.syntax \
|
|
latex.syntax \
|
|
lisp.syntax \
|
|
lkr.syntax \
|
|
lsm.syntax \
|
|
lua.syntax \
|
|
m4.syntax \
|
|
mail.syntax \
|
|
makefile.syntax \
|
|
markdown.syntax \
|
|
ml.syntax \
|
|
meson.syntax \
|
|
named.syntax \
|
|
nemerle.syntax \
|
|
nroff.syntax \
|
|
octave.syntax \
|
|
opencl.syntax \
|
|
osl.syntax \
|
|
pascal.syntax \
|
|
perl.syntax \
|
|
php.syntax \
|
|
po.syntax \
|
|
povray.syntax \
|
|
procmail.syntax \
|
|
properties.syntax \
|
|
protobuf.syntax \
|
|
puppet.syntax \
|
|
python.syntax \
|
|
r.syntax \
|
|
ruby.syntax \
|
|
rust.syntax \
|
|
sh.syntax \
|
|
slang.syntax \
|
|
smalltalk.syntax \
|
|
spec.syntax \
|
|
spice.syntax \
|
|
sql.syntax \
|
|
strace.syntax \
|
|
swift.syntax \
|
|
swig.syntax \
|
|
syntax.syntax \
|
|
tcl.syntax \
|
|
texinfo.syntax \
|
|
ts.syntax \
|
|
tt.syntax \
|
|
unknown.syntax \
|
|
verilog.syntax \
|
|
vhdl.syntax \
|
|
xml.syntax \
|
|
yabasic.syntax \
|
|
yaml.syntax \
|
|
yum-repo.syntax \
|
|
yxx.syntax
|
|
|
|
if USE_INTERNAL_EDIT
|
|
syntaxdir = $(pkgdatadir)/syntax
|
|
syntax_DATA = $(SYNTAX_OUT) \
|
|
$(SYNTAXFILES)
|
|
endif
|
|
|
|
EXTRA_DIST = $(SYNTAX_IN) \
|
|
$(SYNTAXFILES)
|