diff --git a/ChangeLog b/ChangeLog index 3b2bbebc..348bb313 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,8 @@ src/about.c, src/filetypes.c, src/filetypes.h, THANKS, data/filetype_extensions.conf, data/filetypes.erlang, wscript: Add Erlang filetype (patch by Taylor Venable, thanks). + * src/filetypes.c, data/filetypes.*: + Move filetype 'extension' default into data files. 2010-10-18 Nick Treleaven diff --git a/data/filetypes.actionscript b/data/filetypes.actionscript index 0dd7a2d0..753aa815 100644 --- a/data/filetypes.actionscript +++ b/data/filetypes.actionscript @@ -32,7 +32,7 @@ classes=ArgumentError Array Boolean Class Date DefinitionError Error EvalError F [settings] # default extension used when saving files -#extension=as +extension=as # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.ada b/data/filetypes.ada index 8f4dab7f..4f096c66 100644 --- a/data/filetypes.ada +++ b/data/filetypes.ada @@ -21,7 +21,7 @@ primary=abort abs abstract accept access aliased all and array at begin body cas [settings] # default extension used when saving files -#extension=adb +extension=adb # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.asm b/data/filetypes.asm index 398350dc..61d702fa 100644 --- a/data/filetypes.asm +++ b/data/filetypes.asm @@ -27,7 +27,7 @@ directives=org list nolist page equivalent word text [settings] # default extension used when saving files -#extension=asm +extension=asm # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.c b/data/filetypes.c index 5b66fe56..54ce6e5b 100644 --- a/data/filetypes.c +++ b/data/filetypes.c @@ -40,7 +40,7 @@ preprocessor.end.$(file.patterns.cpp)=endif [settings] # default extension used when saving files -#extension=c +extension=c # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.caml b/data/filetypes.caml index 7d8a4994..6666b8d4 100644 --- a/data/filetypes.caml +++ b/data/filetypes.caml @@ -24,7 +24,7 @@ keywords_optional=option Some None ignore ref [settings] # default extension used when saving files -#extension=ml +extension=ml # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.cmake b/data/filetypes.cmake index 8bdbf005..5e6a3977 100644 --- a/data/filetypes.cmake +++ b/data/filetypes.cmake @@ -26,7 +26,7 @@ userdefined= [settings] # default extension used when saving files -#extension=cmake +extension=cmake # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.conf b/data/filetypes.conf index b4ea6951..ef5fad41 100644 --- a/data/filetypes.conf +++ b/data/filetypes.conf @@ -15,7 +15,7 @@ lexer.props.allow.initial.spaces=0 [settings] # default extension used when saving files -#extension=conf +extension=conf # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.cpp b/data/filetypes.cpp index c12b2c1a..9f272395 100644 --- a/data/filetypes.cpp +++ b/data/filetypes.cpp @@ -42,7 +42,7 @@ preprocessor.end.$(file.patterns.cpp)=endif lexer_filetype=C # default extension used when saving files -#extension=cpp +extension=cpp # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.cs b/data/filetypes.cs index 4cf9bc6b..2a64c661 100644 --- a/data/filetypes.cs +++ b/data/filetypes.cs @@ -42,7 +42,7 @@ preprocessor.end.$(file.patterns.cpp)=endif lexer_filetype=C # default extension used when saving files -#extension=cs +extension=cs # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.css b/data/filetypes.css index 072b700a..0b062184 100644 --- a/data/filetypes.css +++ b/data/filetypes.css @@ -40,7 +40,7 @@ browser_pseudo_elements= [settings] # default extension used when saving files -#extension=css +extension=css # the following characters are these which a "word" can contains, see documentation #wordchars=_-abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.d b/data/filetypes.d index 2cfadc19..9d3e912b 100644 --- a/data/filetypes.d +++ b/data/filetypes.d @@ -30,7 +30,7 @@ types= [settings] # default extension used when saving files -#extension=d +extension=d # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.diff b/data/filetypes.diff index 689df2d7..a98de695 100644 --- a/data/filetypes.diff +++ b/data/filetypes.diff @@ -13,7 +13,7 @@ changed=0x7f007f;0xffffff;false;false [settings] # default extension used when saving files -#extension=diff +extension=diff # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.docbook b/data/filetypes.docbook index 9f7c55f7..26a7e11f 100644 --- a/data/filetypes.docbook +++ b/data/filetypes.docbook @@ -42,7 +42,7 @@ fold.html.preprocessor=1 [settings] # default extension used when saving files -#extension=docbook +extension=docbook # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.f77 b/data/filetypes.f77 index 0b421f33..0f9dfb51 100644 --- a/data/filetypes.f77 +++ b/data/filetypes.f77 @@ -28,7 +28,7 @@ user_functions=cdabs cdcos cdexp cdlog cdsin cdsqrt cotan cotand dcmplx dconjg d [settings] # default extension used when saving files -#extension=f +extension=f # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.ferite b/data/filetypes.ferite index 3d47d5dd..fe74c4c7 100644 --- a/data/filetypes.ferite +++ b/data/filetypes.ferite @@ -32,7 +32,7 @@ docComment=brief class declaration description end example extends function grou [settings] # default extension used when saving files -#extension=fe +extension=fe # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.forth b/data/filetypes.forth index b72507f1..df779102 100644 --- a/data/filetypes.forth +++ b/data/filetypes.forth @@ -21,13 +21,13 @@ primary=ABORT EXIT DO LOOP UNLOOP BEGIN UNTIL WHILE REPEAT EXIT IF ELSE THEN CAS [settings] # default extension used when saving files -#extension=fs +extension=fs # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 # if only single comment char is supported like # in this file, leave comment_close blank -comment_open=( +comment_open=( comment_close= ) # comment_open=\ diff --git a/data/filetypes.fortran b/data/filetypes.fortran index 955aed6d..099159fe 100644 --- a/data/filetypes.fortran +++ b/data/filetypes.fortran @@ -28,7 +28,7 @@ user_functions=cdabs cdcos cdexp cdlog cdsin cdsqrt cotan cotand dcmplx dconjg d [settings] # default extension used when saving files -#extension=f90 +extension=f90 # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.freebasic b/data/filetypes.freebasic index 1bc150ce..0937dd31 100644 --- a/data/filetypes.freebasic +++ b/data/filetypes.freebasic @@ -32,7 +32,7 @@ user2= [settings] # default extension used when saving files -#extension=bas +extension=bas # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.glsl b/data/filetypes.glsl index 1312e28d..f71ef5c5 100644 --- a/data/filetypes.glsl +++ b/data/filetypes.glsl @@ -45,7 +45,7 @@ preprocessor.end.$(file.patterns.cpp)=endif lexer_filetype=C # default extension used when saving files -#extension=glsl +extension=glsl # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.haskell b/data/filetypes.haskell index 01876533..8eae8465 100644 --- a/data/filetypes.haskell +++ b/data/filetypes.haskell @@ -26,7 +26,7 @@ keywords=as case class data deriving do else if import in infixl infixr instance [settings] # default extension used when saving files -#extension=hs +extension=hs # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.haxe b/data/filetypes.haxe index 98eee8df..8c507a01 100644 --- a/data/filetypes.haxe +++ b/data/filetypes.haxe @@ -33,7 +33,7 @@ classes=Array ArrayAccess Class Date DateTools EReg Hash IntHash IntIter Iterabl [settings] # default extension used when saving files -#extension=hx +extension=hx # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.html b/data/filetypes.html index aa123444..1e63c0c5 100644 --- a/data/filetypes.html +++ b/data/filetypes.html @@ -11,7 +11,7 @@ [settings] # default extension used when saving files -#extension=html +extension=html # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.java b/data/filetypes.java index dd0ae05e..632f102f 100644 --- a/data/filetypes.java +++ b/data/filetypes.java @@ -34,7 +34,7 @@ typedefs= [settings] # default extension used when saving files -#extension=java +extension=java # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.javascript b/data/filetypes.javascript index fc67b6e2..93560930 100644 --- a/data/filetypes.javascript +++ b/data/filetypes.javascript @@ -31,7 +31,7 @@ secondary=Object Function Array prototype [settings] # default extension used when saving files -#extension=js +extension=js # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.latex b/data/filetypes.latex index 71f64baf..49634e9c 100644 --- a/data/filetypes.latex +++ b/data/filetypes.latex @@ -14,7 +14,7 @@ primary=above abovedisplayshortskip abovedisplayskip abovewithdelims accent adjd [settings] # default extension used when saving files -#extension=tex +extension=tex # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.lisp b/data/filetypes.lisp index 728b50bd..58604ee3 100644 --- a/data/filetypes.lisp +++ b/data/filetypes.lisp @@ -20,11 +20,11 @@ macrodispatch=word2 [keywords] # all items must be in one line keywords=abort abs acons acos acosh add-method adjoin adjust-array adjustable-array-p alpha-char-p alphanumericp alter append apply applyhook apropos apropos-list aref arithmetic-error-operands arithmetic-error-operation array-dimension array-dimensions array-element-type array-has-fill-pointer-p array-in-bounds-p array-rank array-row-major-index array-total-size arrayp ash asin asinh assoc assoc-if assoc-if-not atan atanh atom augment-environment bit bit-and bit-andc1 bit-andc2 bit-eqv bit-ior bit-nand bit-nor bit-not bit-orc1 bit-orc2 bit-vector-p bit-xor boole both-case-p boundp break broadcast-stream-streams butlast byte byte-position byte-size caaaar caaadr caaar caadar caaddr caadr caar cadaar cadadr cadar caddar cadddr caddr cadr call-next-method car catenate cdaaar cdaadr cdaar cdadar cdaddr cdadr cdar cddaar cddadr cddar cdddar cddddr cdddr cddr cdr ceiling cell-error-name cerror change-class char char-bit char-bits char-code char-downcase char-equal char-font char-greaterp char-int char-lessp char-name char-not-equal char-not-greaterp char-not-lessp char-upcase char/= char< char<= char= char> char>= character characterp choose choose-if chunk cis class-name class-of clear-input close clrhash code-char coerce collect collect-alist collect-and collect-append collect-file collect-first collect-fn collect-hash collect-last collect-length collect-max collect-min collect-nconc collect-nth collect-or collect-plist collect-sum collecting-fn commonp compile compile-file compile-file-pathname compiled-function-p compiler-let compiler-macro-function compiler-macroexpand compiler-macroexpand-1 complement complex complexp compute-applicable-methods compute-restarts concatenate concatenated-stream-streams condition conjugate cons consp continue control-error copy-alist copy-list copy-pprint-dispatch copy-readtable copy-seq copy-symbol copy-tree cos cosh cotruncate count count-if count-if-not declaration-information declare decode-float decode-universal-time delete-duplicates delete-file delete-if delete-if-not delete-package denominator deposit-field describe describe-object digit-char digit-char-p directory directory-namestring disassemble dpb dribble echo-stream-input-stream echo-stream-output-stream ed eighth elt enclose encode-universal-time end-of-file type endp enough-namestring ensure--function eq eql equal equalp error documentation eval eval-when evalhook evenp every exp expand export expt f fboundp fdefinition ffloor fifth file-author file-error type file-error-pathname file-length file-namestring file-position file-string-length file-write-date fill fill-pointer find find-all-symbols find-class find-if find-if-not find-method find-package find-restart find-symbol finish-output first flet float float-digits float-precision float-radix float-sign floatp floor fourth funcall function function-information function-keywords function-lambda-expression functionp format gatherer generic-labels gcd generator generic-flet gensym gentemp get get-decoded-time get-internal-real-time get-internal-run-time get-output-stream-string get-properties get-setf-method get-setf-method-multiple-value get-universal-time getf gethash graphic-char-p hash-table-count hash-table-p hash-table-rehash-size hash-table-rehash-threshold hash-table-size hash-table-test host-namestring identity imagpart import in-package initialize-instance input-stream-p inspect int-char integer-decode-float integer-length integerp interactive-stream-p intern intersection invalid-method-error invoke-debugger invoke-restart isqrt keywordp last latch lcm ldb ldb-test ldiff length lisp-implementation-type lisp-implementation-version list list* list-all-packages list-length listen listp load load-logical-pathname-translations log logand logandc1 logandc2 logbitp logcount logeqv logical-pathname class logical-pathname logical-pathname-translations logior lognand lognor lognot logorc1 logorc2 logtest logxor lower-case-p machine-instance machine-type machine-version macro-function macroexpand macroexpand-1 make-array make-broadcast-stream make-char make-concatenated-stream make-condition make-dispatch-macro-character make-echo-stream make-hash-table make-instance make-instances-obsolete make-list make-load-form make-load-form-saving-slots make-package make-pathname make-random-state make-sequence make-string make-string-input-stream make-string-output-stream make-symbol make-synonym-stream make-two-way-stream makunbound map map-fn map-into mapc mapcan mapcar mapcon maphash mapl maplist mask mask-field max member member-if member-if-not merge merge-pathnames method-combination-error method-qualifiers min mingle minusp mismatch mod muffle-warning name-char namestring nbutlast nconc next-method-p next-out nintersection ninth no-applicable-method no-next-method not notany notevery nreconc nreverse nset-difference nset-exclusive-or nstring-capitalize nstring-downcase nstring-upcase nsublis nsubst nsubst-if nsubst-if-not nsubstitute nsubstitute-if nsubstitute-if-not nth nthcdr null numberp numerator nunion random random-state-p rassoc rassoc-if rassoc-if-not rational rationalize rationalp read read-byte read-char read-char-no-hang read-delimited-list read-from-string read-line read-preserving-whitespace readtable-case readtablep realp realpart reduce reinitialize-instance rem output-stream-p package-error type package-error-package package-name package-nicknames package-shadowing-symbols package-use-list package-used-by-list packagep pairlis parse-integer oddp open open-stream-p parse-macro parse-namestring pathname pathname-device pathname-directory pathname-host pathname-match-p pathname-name pathname-type pathname-version pathnamep peek-char phase plusp position position-if position-if-not positions pprint-dispatch pprint-fill pprint-indent pprint-linear probe-file proclaim pprint-newline pprint-tab pprint-tabular previous print print-object remhash remove remove-duplicates remove-method remprop rename-file rename-package provide replace require rest revappend reverse room round row-major-aref rplaca rplacd restart-name result-of sbit scale-float scan scan-alist scan-file scan-fn scan-fn-inclusive scan-hash scan-lists-of-lists scan-lists-of-lists-fringe scan-multiple scan-plist scan-range scan-sublists scan-symbols schar search second series set set-char-bit set-difference set-dispatch-macro-character set-exclusive-or set-macro-character set-pprint-dispatch set-syntax-from-char shadow shadowing-import shared-initialize short-site-name signal signum simple-bit-vector-p simple-condition-format-arguments simple-condition-format-string simple-string-p simple-vector-p sin sinh sixth sleep slot-boundp slot-exists-p slot-makunbound slot-missing slot-unbound slot-value software-type software-version some sort special-form-p split split-if sqrt stable-sort standard-char-p store-value stream-element-type stream-error-stream stream-external-format streamp string string-capitalize string-char-p string-downcase string-equal string-greaterp string-left-trim string-lessp string-not-equal string-not-greaterp string-not-lessp string-right-trim string-trim string-upcase string/= string< string<= string= string> string>= stringp sublis subseq subseries subsetp subst subst-if subst-if-not substitute substitute-if substitute-if-not subtypep svref sxhash symbol-function symbol-name symbol-package symbol-plist symbol-value symbolp synonym-stream-symbol tailp tan tanh tenth terpri third to-alter translate-logical-pathname translate-pathname tree-equal truename truncate two-way-stream-input-stream two-way-stream-output-stream type-error-datum type-error-expected-type type-of typep unexport unintern union unread-char until-if unuse-package update-instance-for-different-class update-instance-for-redefined-class upgraded-array-element-type upgraded-complex-part-type upper-case-p use-package use-value user-homedir-pathname values values-list variable-information vector vector-pop vector-push vector-push-extend vectorp warn warn wild-pathname-p write write-byte write-char write-string write-to-string y-or-n-p yes-or-no-p zerop -special_keywords=always and appending array-dimension-limit array-rank-limit array-total-size-limit as assert call-arguments-limit call-method case catch ccase char-bits-limit char-code-limit char-control-bit char-font-limit char-hyper-bit char-meta-bit char-super-bit check-type check-type collect collecting compiler-let cond count counting ctypecase ctypecase decf declaim defclass def define-compiler-macro define-condition define-declaration define-method-combination define-modify-macro define-setf-method defmacro defmethod defpackage defstruct deftype defun defvar delete destructuring-bind do do* do-all-symbols do-external-symbols do-symbols doing dolist dotimes double-float-epsilon double-float-negative-epsilon ecase encapsulated etypecase finally for formatter gathering generic-function go handler-bind handler-case if ignore-errors in-package incf initially internal-time-units-per-second iterate lambda-list-keywords lambda-parameters-limit least-negative-double-float least-negative-long-float least-negative-normalized-double-float least-negative-normalized-long-float least-negative-normalized-short-float least-negative-normalized-single-float least-negative-short-float least-negative-single-float least-positive-double-float least-positive-long-float least-positive-normalized-double-float least-positive-normalized-long-float least-positive-normalized-short-float least-positive-normalized-single-float least-positive-short-float least-positive-single-float let let* load-time-value locally locally long-float-epsilon long-float-negative-epsilon long-site-name loop loop-finish mapping maximize maximizing minimize minimizing most-negative-double-float most-negative-fixnum most-negative-long-float most-negative-short-float most-negative-single-float most-positive-double-float most-positive-fixnum most-positive-long-float most-positive-short-float most-positive-single-float multiple-value-bind multiple-value-call multiple-value-list multiple-value-prog1 multiple-value-setq multiple-values-limit named nconc nconcing never next-in nil nth-value off-line-port optimizable-series-function or pi pop pprint-exit-if-list-exhausted pprint-logical-block pprint-pop print-unreadable-object producing prog prog* prog1 prog2 progn progv propagate-alterability psetf psetq push pushnew quote remf repeat restart-bind restart-case return return-from rotatef setf setq seventh shiftf short-float-epsilon short-float-negative-epsilon single-float-epsilon single-float-negative-epsilon step sum summing symbol-macrolet t tagbody terminate-producing the thereis time throw trace typecase unless until untrace unwind-protect when when while with with-accessors with-added-methods with-compilation-unit with-condition-restarts with-hash-table-iterator with-input-from-string with-open-file with-open-stream with-output-to-string with-package-iterator with-simple-restart with-slots with-standard-io-syntax +special_keywords=always and appending array-dimension-limit array-rank-limit array-total-size-limit as assert call-arguments-limit call-method case catch ccase char-bits-limit char-code-limit char-control-bit char-font-limit char-hyper-bit char-meta-bit char-super-bit check-type check-type collect collecting compiler-let cond count counting ctypecase ctypecase decf declaim defclass def define-compiler-macro define-condition define-declaration define-method-combination define-modify-macro define-setf-method defmacro defmethod defpackage defstruct deftype defun defvar delete destructuring-bind do do* do-all-symbols do-external-symbols do-symbols doing dolist dotimes double-float-epsilon double-float-negative-epsilon ecase encapsulated etypecase finally for formatter gathering generic-function go handler-bind handler-case if ignore-errors in-package incf initially internal-time-units-per-second iterate lambda-list-keywords lambda-parameters-limit least-negative-double-float least-negative-long-float least-negative-normalized-double-float least-negative-normalized-long-float least-negative-normalized-short-float least-negative-normalized-single-float least-negative-short-float least-negative-single-float least-positive-double-float least-positive-long-float least-positive-normalized-double-float least-positive-normalized-long-float least-positive-normalized-short-float least-positive-normalized-single-float least-positive-short-float least-positive-single-float let let* load-time-value locally locally long-float-epsilon long-float-negative-epsilon long-site-name loop loop-finish mapping maximize maximizing minimize minimizing most-negative-double-float most-negative-fixnum most-negative-long-float most-negative-short-float most-negative-single-float most-positive-double-float most-positive-fixnum most-positive-long-float most-positive-short-float most-positive-single-float multiple-value-bind multiple-value-call multiple-value-list multiple-value-prog1 multiple-value-setq multiple-values-limit named nconc nconcing never next-in nil nth-value off-line-port optimizable-series-function or pi pop pprint-exit-if-list-exhausted pprint-logical-block pprint-pop print-unreadable-object producing prog prog* prog1 prog2 progn progv propagate-alterability psetf psetq push pushnew quote remf repeat restart-bind restart-case return return-from rotatef setf setq seventh shiftf short-float-epsilon short-float-negative-epsilon single-float-epsilon single-float-negative-epsilon step sum summing symbol-macrolet t tagbody terminate-producing the thereis time throw trace typecase unless until untrace unwind-protect when when while with with-accessors with-added-methods with-compilation-unit with-condition-restarts with-hash-table-iterator with-input-from-string with-open-file with-open-stream with-output-to-string with-package-iterator with-simple-restart with-slots with-standard-io-syntax [settings] # default extension used when saving files -#extension=lisp +extension=lisp # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.lua b/data/filetypes.lua index e2ad6030..5e0b64e9 100644 --- a/data/filetypes.lua +++ b/data/filetypes.lua @@ -39,7 +39,7 @@ user4= [settings] # default extension used when saving files -#extension=lua +extension=lua # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.makefile b/data/filetypes.makefile index c6cc5847..53b4864d 100644 --- a/data/filetypes.makefile +++ b/data/filetypes.makefile @@ -14,7 +14,7 @@ ideol=0x008000;0xffffff;false;false [settings] # default extension used when saving files -#extension=mak +extension=mak # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.matlab b/data/filetypes.matlab index 398d02cc..ce7ad42d 100644 --- a/data/filetypes.matlab +++ b/data/filetypes.matlab @@ -17,7 +17,7 @@ primary=break case catch continue else elseif end for function global if otherwi [settings] # default extension used when saving files -#extension=m +extension=m # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.nsis b/data/filetypes.nsis index fe9cec08..5793bb60 100644 --- a/data/filetypes.nsis +++ b/data/filetypes.nsis @@ -35,7 +35,7 @@ nsis.ignorecase=1 [settings] # default extension used when saving files -#extension=nsi +extension=nsi # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.pascal b/data/filetypes.pascal index 762487ee..f8ae2a71 100644 --- a/data/filetypes.pascal +++ b/data/filetypes.pascal @@ -28,7 +28,7 @@ lexer.pascal.smart.highlighting=1 [settings] # default extension used when saving files -#extension=pas +extension=pas # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.perl b/data/filetypes.perl index 3ea2f80d..55d57407 100644 --- a/data/filetypes.perl +++ b/data/filetypes.perl @@ -47,7 +47,7 @@ styling.within.preprocessor=1 [settings] # default extension used when saving files -#extension=pl +extension=pl # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.php b/data/filetypes.php index 3dd5751b..4d63874c 100644 --- a/data/filetypes.php +++ b/data/filetypes.php @@ -7,7 +7,7 @@ phpscript.mode=1 [settings] # default extension used when saving files -#extension=php +extension=php # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.po b/data/filetypes.po index 4ffbaf61..6e8d2023 100644 --- a/data/filetypes.po +++ b/data/filetypes.po @@ -16,7 +16,7 @@ fuzzy=0xffa500;0xffffff;true;false [settings] # default extension used when saving files -#extension=po +extension=po # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.python b/data/filetypes.python index f964011e..04ebfb68 100644 --- a/data/filetypes.python +++ b/data/filetypes.python @@ -31,7 +31,7 @@ fold.quotes.python=1 [settings] # default extension used when saving files -#extension=py +extension=py # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.r b/data/filetypes.r index d96125c7..e2f44f8a 100644 --- a/data/filetypes.r +++ b/data/filetypes.r @@ -27,7 +27,7 @@ package_other=acme aids aircondit amis aml banking barchart barley beaver bigcit [settings] # default extension used when saving files -#extension=R +extension=R # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.restructuredtext b/data/filetypes.restructuredtext index 4f94b1aa..b11d6540 100644 --- a/data/filetypes.restructuredtext +++ b/data/filetypes.restructuredtext @@ -4,7 +4,7 @@ [settings] # default extension used when saving files -#extension=rst +extension=rst # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.ruby b/data/filetypes.ruby index 6593268f..35df972c 100644 --- a/data/filetypes.ruby +++ b/data/filetypes.ruby @@ -44,7 +44,7 @@ primary=__FILE__ load define_method attr_accessor attr_writer attr_reader and de [settings] # default extension used when saving files -#extension=rb +extension=rb # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.sh b/data/filetypes.sh index 639b4132..31b6c890 100644 --- a/data/filetypes.sh +++ b/data/filetypes.sh @@ -22,7 +22,7 @@ primary=break case continue do done elif else esac eval exit export fi for funct [settings] # default extension used when saving files -#extension=sh +extension=sh # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.sql b/data/filetypes.sql index 8d611716..29066f0f 100644 --- a/data/filetypes.sql +++ b/data/filetypes.sql @@ -24,7 +24,7 @@ keywords=absolute action add admin after aggregate alias all allocate alter and [settings] # default extension used when saving files -#extension=sql +extension=sql # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.tcl b/data/filetypes.tcl index ff7eb4db..4976d10a 100644 --- a/data/filetypes.tcl +++ b/data/filetypes.tcl @@ -29,7 +29,7 @@ expand= [settings] # default extension used when saving files -#extension=tcl +extension=tcl # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.vala b/data/filetypes.vala index a9b3f51b..13fc76d5 100644 --- a/data/filetypes.vala +++ b/data/filetypes.vala @@ -42,7 +42,7 @@ preprocessor.end.$(file.patterns.cpp)=endif lexer_filetype=C # default extension used when saving files -#extension=vala +extension=vala # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.vhdl b/data/filetypes.vhdl index 348ab290..6e49794b 100644 --- a/data/filetypes.vhdl +++ b/data/filetypes.vhdl @@ -29,7 +29,7 @@ userwords= [settings] # default extension used when saving files -#extension=vhd +extension=vhd # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/data/filetypes.xml b/data/filetypes.xml index 1b8f630b..54fe91a6 100644 --- a/data/filetypes.xml +++ b/data/filetypes.xml @@ -83,7 +83,7 @@ sgml=ELEMENT DOCTYPE ATTLIST ENTITY NOTATION [settings] # default extension used when saving files -#extension=xml +extension=xml # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 diff --git a/src/filetypes.c b/src/filetypes.c index 32bc0d2e..d7c4960c 100644 --- a/src/filetypes.c +++ b/src/filetypes.c @@ -96,7 +96,6 @@ static void init_builtin_filetypes(void) ft->lang = -2; ft->name = g_strdup(_("None")); ft->title = g_strdup(_("None")); - ft->extension = NULL; ft->pattern = utils_strv_new("*", NULL); ft->comment_open = NULL; ft->comment_close = NULL; @@ -107,7 +106,6 @@ static void init_builtin_filetypes(void) ft->lang = 0; ft->name = g_strdup("C"); filetype_make_title(ft, TITLE_SOURCE_FILE); - ft->extension = g_strdup("c"); ft->pattern = utils_strv_new("*.c", "*.h", NULL); ft->comment_open = g_strdup("/*"); ft->comment_close = g_strdup("*/"); @@ -118,7 +116,6 @@ static void init_builtin_filetypes(void) ft->lang = 1; ft->name = g_strdup("C++"); filetype_make_title(ft, TITLE_SOURCE_FILE); - ft->extension = g_strdup("cpp"); ft->pattern = utils_strv_new("*.cpp", "*.cxx", "*.c++", "*.cc", "*.h", "*.hpp", "*.hxx", "*.h++", "*.hh", "*.C", NULL); ft->comment_open = g_strdup("//"); @@ -130,7 +127,6 @@ static void init_builtin_filetypes(void) ft->lang = 25; ft->name = g_strdup("C#"); filetype_make_title(ft, TITLE_SOURCE_FILE); - ft->extension = g_strdup("cs"); ft->pattern = utils_strv_new("*.cs", NULL); ft->comment_open = g_strdup("//"); ft->comment_close = NULL; @@ -141,7 +137,6 @@ static void init_builtin_filetypes(void) ft->lang = 33; ft->name = g_strdup("Vala"); filetype_make_title(ft, TITLE_SOURCE_FILE); - ft->extension = g_strdup("vala"); ft->pattern = utils_strv_new("*.vala", "*.vapi", NULL); ft->comment_open = g_strdup("//"); ft->comment_close = NULL; @@ -152,7 +147,6 @@ static void init_builtin_filetypes(void) ft->lang = 17; ft->name = g_strdup("D"); filetype_make_title(ft, TITLE_SOURCE_FILE); - ft->extension = g_strdup("d"); ft->pattern = utils_strv_new("*.d", "*.di", NULL); ft->comment_open = g_strdup("//"); ft->comment_close = NULL; @@ -163,7 +157,6 @@ static void init_builtin_filetypes(void) ft->lang = 2; ft->name = g_strdup("Java"); filetype_make_title(ft, TITLE_SOURCE_FILE); - ft->extension = g_strdup("java"); ft->pattern = utils_strv_new("*.java", "*.jsp", NULL); ft->comment_open = g_strdup("/*"); ft->comment_close = g_strdup("*/"); @@ -174,7 +167,6 @@ static void init_builtin_filetypes(void) ft->lang = 4; ft->name = g_strdup("Pascal"); filetype_make_title(ft, TITLE_SOURCE_FILE); - ft->extension = g_strdup("pas"); ft->pattern = utils_strv_new("*.pas", "*.pp", "*.inc", "*.dpr", "*.dpk", NULL); ft->comment_open = g_strdup("{"); @@ -186,7 +178,6 @@ static void init_builtin_filetypes(void) ft->lang = 9; ft->name = g_strdup("ASM"); ft->title = g_strdup_printf(_("%s source file"), "Assembler"); - ft->extension = g_strdup("asm"); ft->pattern = utils_strv_new("*.asm", NULL); ft->comment_open = g_strdup(";"); ft->comment_close = NULL; @@ -197,7 +188,6 @@ static void init_builtin_filetypes(void) ft->lang = 26; ft->name = g_strdup("FreeBasic"); filetype_make_title(ft, TITLE_SOURCE_FILE); - ft->extension = g_strdup("bas"); ft->pattern = utils_strv_new("*.bas", "*.bi", NULL); ft->comment_open = g_strdup("'"); ft->comment_close = NULL; @@ -208,7 +198,6 @@ static void init_builtin_filetypes(void) ft->lang = 18; ft->name = g_strdup("Fortran"); ft->title = g_strdup_printf(_("%s source file"), "Fortran (F90)"); - ft->extension = g_strdup("f90"); ft->pattern = utils_strv_new("*.f90", "*.f95", "*.f03", NULL); ft->comment_open = g_strdup("!"); ft->comment_close = NULL; @@ -219,7 +208,6 @@ static void init_builtin_filetypes(void) ft->lang = 30; ft->name = g_strdup("F77"); ft->title = g_strdup_printf(_("%s source file"), "Fortran (F77)"); - ft->extension = g_strdup("f"); ft->pattern = utils_strv_new("*.f", "*.for", "*.ftn", "*.f77", NULL); ft->comment_open = g_strdup("c"); ft->comment_close = NULL; @@ -230,7 +218,6 @@ static void init_builtin_filetypes(void) ft->lang = 31; ft->name = g_strdup("GLSL"); filetype_make_title(ft, TITLE_SOURCE_FILE); - ft->extension = g_strdup("glsl"); ft->pattern = utils_strv_new("*.glsl", "*.frag", "*.vert", NULL); ft->comment_open = g_strdup("/*"); ft->comment_close = g_strdup("*/"); @@ -241,7 +228,6 @@ static void init_builtin_filetypes(void) ft->lang = -2; ft->name = g_strdup("CAML"); ft->title = g_strdup_printf(_("%s source file"), "(O)Caml"); - ft->extension = g_strdup("ml"); ft->pattern = utils_strv_new("*.ml", "*.mli", NULL); ft->comment_open = g_strdup("(*"); ft->comment_close = g_strdup("*)"); @@ -252,7 +238,6 @@ static void init_builtin_filetypes(void) ft->lang = 5; ft->name = g_strdup("Perl"); filetype_make_title(ft, TITLE_SOURCE_FILE); - ft->extension = g_strdup("pl"); ft->pattern = utils_strv_new("*.pl", "*.perl", "*.pm", "*.agi", "*.pod", NULL); ft->comment_open = g_strdup("#"); @@ -264,7 +249,6 @@ static void init_builtin_filetypes(void) ft->lang = 6; ft->name = g_strdup("PHP"); filetype_make_title(ft, TITLE_SOURCE_FILE); - ft->extension = g_strdup("php"); ft->pattern = utils_strv_new("*.php", "*.php3", "*.php4", "*.php5", "*.phtml", NULL); ft->comment_open = g_strdup("//"); @@ -276,7 +260,6 @@ static void init_builtin_filetypes(void) ft->lang = 23; ft->name = g_strdup("Javascript"); filetype_make_title(ft, TITLE_SOURCE_FILE); - ft->extension = g_strdup("js"); ft->pattern = utils_strv_new("*.js", NULL); ft->comment_open = g_strdup("//"); ft->comment_close = NULL; @@ -287,7 +270,6 @@ static void init_builtin_filetypes(void) ft->lang = 7; ft->name = g_strdup("Python"); filetype_make_title(ft, TITLE_SOURCE_FILE); - ft->extension = g_strdup("py"); ft->pattern = utils_strv_new("*.py", "*.pyw", NULL); ft->comment_open = g_strdup("#"); ft->comment_close = NULL; @@ -298,7 +280,6 @@ static void init_builtin_filetypes(void) ft->lang = 14; ft->name = g_strdup("Ruby"); filetype_make_title(ft, TITLE_SOURCE_FILE); - ft->extension = g_strdup("rb"); ft->pattern = utils_strv_new("*.rb", "*.rhtml", "*.ruby", NULL); ft->comment_open = g_strdup("#"); ft->comment_close = NULL; @@ -309,7 +290,6 @@ static void init_builtin_filetypes(void) ft->lang = 15; ft->name = g_strdup("Tcl"); filetype_make_title(ft, TITLE_SOURCE_FILE); - ft->extension = g_strdup("tcl"); ft->pattern = utils_strv_new("*.tcl", "*.tk", "*.wish", NULL); ft->comment_open = g_strdup("#"); ft->comment_close = NULL; @@ -320,7 +300,6 @@ static void init_builtin_filetypes(void) ft->lang = 22; ft->name = g_strdup("Lua"); filetype_make_title(ft, TITLE_SOURCE_FILE); - ft->extension = g_strdup("lua"); ft->pattern = utils_strv_new("*.lua", NULL); ft->comment_open = g_strdup("--"); ft->comment_close = NULL; @@ -331,7 +310,6 @@ static void init_builtin_filetypes(void) ft->lang = 19; ft->name = g_strdup("Ferite"); filetype_make_title(ft, TITLE_SOURCE_FILE); - ft->extension = g_strdup("fe"); ft->pattern = utils_strv_new("*.fe", NULL); ft->comment_open = g_strdup("/*"); ft->comment_close = g_strdup("*/"); @@ -342,7 +320,6 @@ static void init_builtin_filetypes(void) ft->lang = 24; ft->name = g_strdup("Haskell"); filetype_make_title(ft, TITLE_SOURCE_FILE); - ft->extension = g_strdup("hs"); ft->pattern = utils_strv_new("*.hs", "*.lhs", NULL); ft->comment_open = g_strdup("--"); ft->comment_close = NULL; @@ -353,7 +330,6 @@ static void init_builtin_filetypes(void) ft->lang = 36; ft->name = g_strdup("Markdown"); filetype_make_title(ft, TITLE_SOURCE_FILE); - ft->extension = g_strdup("md"); ft->pattern = utils_strv_new("*.mdml", "*.mdwn", "*.markdown", "*.md", NULL); ft->comment_open = NULL; ft->comment_close = NULL; @@ -364,7 +340,6 @@ static void init_builtin_filetypes(void) ft->lang = 37; ft->name = g_strdup("Txt2tags"); filetype_make_title(ft, TITLE_SOURCE_FILE); - ft->extension = g_strdup("t2t"); ft->pattern = utils_strv_new("*.t2t", "*.txt2tags", NULL); ft->comment_open = NULL; ft->comment_close = NULL; @@ -375,7 +350,6 @@ static void init_builtin_filetypes(void) ft->lang = 38; ft->name = g_strdup("Abc"); filetype_make_title(ft, TITLE_SOURCE_FILE); - ft->extension = g_strdup("abc"); ft->pattern = utils_strv_new("*.abc", "*.abp", NULL); ft->comment_open = NULL; ft->comment_close = NULL; @@ -386,7 +360,6 @@ static void init_builtin_filetypes(void) ft->lang = 16; ft->name = g_strdup("Sh"); ft->title = g_strdup(_("Shell script file")); - ft->extension = g_strdup("sh"); ft->pattern = utils_strv_new("*.sh", "configure", "configure.in", "configure.in.in", "configure.ac", "*.ksh", "*.zsh", "*.ash", "*.bash", NULL); ft->comment_open = g_strdup("#"); @@ -398,7 +371,6 @@ static void init_builtin_filetypes(void) ft->lang = 3; ft->name = g_strdup("Make"); ft->title = g_strdup(_("Makefile")); - ft->extension = g_strdup("mak"); ft->pattern = utils_strv_new( "*.mak", "*.mk", "GNUmakefile", "makefile", "Makefile", "makefile.*", "Makefile.*", NULL); ft->comment_open = g_strdup("#"); @@ -410,7 +382,6 @@ static void init_builtin_filetypes(void) ft->lang = -2; ft->name = g_strdup("XML"); ft->title = g_strdup(_("XML document")); - ft->extension = g_strdup("xml"); ft->pattern = utils_strv_new( "*.xml", "*.sgml", "*.xsl", "*.xslt", "*.xsd", "*.xhtml", NULL); ft->comment_open = g_strdup(""); @@ -433,7 +403,6 @@ static void init_builtin_filetypes(void) ft->lang = 29; ft->name = g_strdup("HTML"); filetype_make_title(ft, TITLE_SOURCE_FILE); - ft->extension = g_strdup("html"); ft->pattern = utils_strv_new( "*.htm", "*.html", "*.shtml", "*.hta", "*.htd", "*.htt", "*.cfm", NULL); ft->comment_open = g_strdup("