summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimeon Simeonov2024-04-22 15:25:08 +0200
committerSimeon Simeonov2024-04-22 15:25:08 +0200
commit4e57fb98342dd3cce7faa38e25c8ec2014a21865 (patch)
tree96626016693999f74d81dae4488b8ccca1e74181
parent49d331d0b958a4e10b841bc34ebc020fe9db86ed (diff)
Update markdown-mode, yasnippet, yasnippet-snippets and add snippets/markdown-mode
-rw-r--r--.emacs.d/lisp/markdown-mode.el204
-rw-r--r--.emacs.d/lisp/yasnippet.el25
-rw-r--r--.emacs.d/snippets/markdown-mode/back-quote6
-rw-r--r--.emacs.d/snippets/markdown-mode/code7
-rw-r--r--.emacs.d/snippets/markdown-mode/emphasis6
-rw-r--r--.emacs.d/snippets/markdown-mode/h1.18
-rw-r--r--.emacs.d/snippets/markdown-mode/h1.29
-rw-r--r--.emacs.d/snippets/markdown-mode/h2.18
-rw-r--r--.emacs.d/snippets/markdown-mode/h2.29
-rw-r--r--.emacs.d/snippets/markdown-mode/h38
-rw-r--r--.emacs.d/snippets/markdown-mode/h48
-rw-r--r--.emacs.d/snippets/markdown-mode/h58
-rw-r--r--.emacs.d/snippets/markdown-mode/h68
-rw-r--r--.emacs.d/snippets/markdown-mode/highlight8
-rw-r--r--.emacs.d/snippets/markdown-mode/hr.19
-rw-r--r--.emacs.d/snippets/markdown-mode/hr.29
-rw-r--r--.emacs.d/snippets/markdown-mode/hyphen7
-rw-r--r--.emacs.d/snippets/markdown-mode/img6
-rw-r--r--.emacs.d/snippets/markdown-mode/link6
-rw-r--r--.emacs.d/snippets/markdown-mode/ordered-list7
-rw-r--r--.emacs.d/snippets/markdown-mode/plus7
-rw-r--r--.emacs.d/snippets/markdown-mode/rimg6
-rw-r--r--.emacs.d/snippets/markdown-mode/rlb7
-rw-r--r--.emacs.d/snippets/markdown-mode/rlink6
-rw-r--r--.emacs.d/snippets/markdown-mode/strong-emphasis6
-rw-r--r--.emacs.d/snippets/markdown-mode/utf87
-rw-r--r--.emacs.d/snippets/prog-mode/.yas-setup.el6
-rw-r--r--.emacs.d/snippets/python-mode.statnett/.yas-setup.el1
-rw-r--r--.emacs.d/snippets/python-mode/.yas-setup.el1
-rw-r--r--.emacs.d/snippets/yasnippet-snippets.el77
30 files changed, 396 insertions, 94 deletions
diff --git a/.emacs.d/lisp/markdown-mode.el b/.emacs.d/lisp/markdown-mode.el
index 1514edb..c27ebbc 100644
--- a/.emacs.d/lisp/markdown-mode.el
+++ b/.emacs.d/lisp/markdown-mode.el
@@ -4432,87 +4432,131 @@ if three backquotes inserted at the beginning of line."
4432 ;; scripts/get-recognized-gfm-languages.el. that produces a single long sexp, 4432 ;; scripts/get-recognized-gfm-languages.el. that produces a single long sexp,
4433 ;; but with appropriate use of a keyboard macro, indenting and filling it 4433 ;; but with appropriate use of a keyboard macro, indenting and filling it
4434 ;; properly is pretty fast. 4434 ;; properly is pretty fast.
4435 '("1C-Enterprise" "4D" "ABAP" "ABNF" "AGS-Script" "AMPL" "ANTLR" 4435 '("1C-Enterprise" "2-Dimensional-Array" "4D" "ABAP" "ABAP-CDS" "ABNF"
4436 "API-Blueprint" "APL" "ASN.1" "ASP" "ATS" "ActionScript" "Ada" 4436 "AGS-Script" "AIDL" "AL" "AMPL" "ANTLR" "API-Blueprint" "APL" "ASL"
4437 "ASN.1" "ASP.NET" "ATS" "ActionScript" "Ada" "Adblock-Filter-List"
4437 "Adobe-Font-Metrics" "Agda" "Alloy" "Alpine-Abuild" "Altium-Designer" 4438 "Adobe-Font-Metrics" "Agda" "Alloy" "Alpine-Abuild" "Altium-Designer"
4438 "AngelScript" "Ant-Build-System" "ApacheConf" "Apex" 4439 "AngelScript" "Ant-Build-System" "Antlers" "ApacheConf" "Apex"
4439 "Apollo-Guidance-Computer" "AppleScript" "Arc" "AsciiDoc" "AspectJ" "Assembly" 4440 "Apollo-Guidance-Computer" "AppleScript" "Arc" "AsciiDoc" "AspectJ"
4440 "Asymptote" "Augeas" "AutoHotkey" "AutoIt" "Awk" "Ballerina" "Batchfile" 4441 "Assembly" "Astro" "Asymptote" "Augeas" "AutoHotkey" "AutoIt"
4441 "Befunge" "BibTeX" "Bison" "BitBake" "Blade" "BlitzBasic" "BlitzMax" 4442 "Avro-IDL" "Awk" "BASIC" "Ballerina" "Batchfile" "Beef" "Befunge"
4442 "Bluespec" "Boo" "Brainfuck" "Brightscript" "C#" "C++" "C-ObjDump" 4443 "Berry" "BibTeX" "Bicep" "Bikeshed" "Bison" "BitBake" "Blade"
4443 "C2hs-Haskell" "CLIPS" "CMake" "COBOL" "COLLADA" "CSON" "CSS" "CSV" "CWeb" 4444 "BlitzBasic" "BlitzMax" "Bluespec" "Bluespec-BH" "Boo" "Boogie"
4444 "Cabal-Config" "Cap'n-Proto" "CartoCSS" "Ceylon" "Chapel" "Charity" "ChucK" 4445 "Brainfuck" "BrighterScript" "Brightscript" "Browserslist" "C" "C#"
4445 "Cirru" "Clarion" "Clean" "Click" "Clojure" "Closure-Templates" 4446 "C++" "C-ObjDump" "C2hs-Haskell" "CAP-CDS" "CIL" "CLIPS" "CMake"
4446 "Cloud-Firestore-Security-Rules" "CoNLL-U" "CodeQL" "CoffeeScript" 4447 "COBOL" "CODEOWNERS" "COLLADA" "CSON" "CSS" "CSV" "CUE" "CWeb"
4447 "ColdFusion" "ColdFusion-CFC" "Common-Lisp" "Common-Workflow-Language" 4448 "Cabal-Config" "Cadence" "Cairo" "CameLIGO" "Cap'n-Proto" "CartoCSS"
4448 "Component-Pascal" "Cool" "Coq" "Cpp-ObjDump" "Creole" "Crystal" "Csound" 4449 "Ceylon" "Chapel" "Charity" "Checksums" "ChucK" "Circom" "Cirru"
4449 "Csound-Document" "Csound-Score" "Cuda" "Cycript" "Cython" "D-ObjDump" 4450 "Clarion" "Clarity" "Classic-ASP" "Clean" "Click" "Clojure"
4450 "DIGITAL-Command-Language" "DM" "DNS-Zone" "DTrace" "Dafny" "Darcs-Patch" 4451 "Closure-Templates" "Cloud-Firestore-Security-Rules" "CoNLL-U"
4451 "Dart" "DataWeave" "Dhall" "Diff" "DirectX-3D-File" "Dockerfile" "Dogescript" 4452 "CodeQL" "CoffeeScript" "ColdFusion" "ColdFusion-CFC" "Common-Lisp"
4452 "Dylan" "EBNF" "ECL" "ECLiPSe" "EJS" "EML" "EQ" "Eagle" "Easybuild" 4453 "Common-Workflow-Language" "Component-Pascal" "Cool" "Coq"
4453 "Ecere-Projects" "EditorConfig" "Edje-Data-Collection" "Eiffel" "Elixir" "Elm" 4454 "Cpp-ObjDump" "Creole" "Crystal" "Csound" "Csound-Document"
4454 "Emacs-Lisp" "EmberScript" "Erlang" "F#" "F*" "FIGlet-Font" "FLUX" "Factor" 4455 "Csound-Score" "Cuda" "Cue-Sheet" "Curry" "Cycript" "Cypher" "Cython"
4455 "Fancy" "Fantom" "Faust" "Filebench-WML" "Filterscript" "Formatted" "Forth" 4456 "D" "D-ObjDump" "D2" "DIGITAL-Command-Language" "DM" "DNS-Zone"
4456 "Fortran" "Fortran-Free-Form" "FreeMarker" "Frege" "G-code" "GAML" "GAMS" 4457 "DTrace" "Dafny" "Darcs-Patch" "Dart" "DataWeave"
4457 "GAP" "GCC-Machine-Description" "GDB" "GDScript" "GEDCOM" "GLSL" "GN" 4458 "Debian-Package-Control-File" "DenizenScript" "Dhall" "Diff"
4458 "Game-Maker-Language" "Genie" "Genshi" "Gentoo-Ebuild" "Gentoo-Eclass" 4459 "DirectX-3D-File" "Dockerfile" "Dogescript" "Dotenv" "Dylan" "E"
4459 "Gerber-Image" "Gettext-Catalog" "Gherkin" "Git-Attributes" "Git-Config" 4460 "E-mail" "EBNF" "ECL" "ECLiPSe" "EJS" "EQ" "Eagle" "Earthly"
4460 "Glyph" "Glyph-Bitmap-Distribution-Format" "Gnuplot" "Go" "Golo" "Gosu" 4461 "Easybuild" "Ecere-Projects" "Ecmarkup" "Edge" "EdgeQL"
4461 "Grace" "Gradle" "Grammatical-Framework" "Graph-Modeling-Language" "GraphQL" 4462 "EditorConfig" "Edje-Data-Collection" "Eiffel" "Elixir" "Elm"
4462 "Graphviz-(DOT)" "Groovy" "Groovy-Server-Pages" "HAProxy" "HCL" "HLSL" "HTML" 4463 "Elvish" "Elvish-Transcript" "Emacs-Lisp" "EmberScript" "Erlang"
4463 "HTML+Django" "HTML+ECR" "HTML+EEX" "HTML+ERB" "HTML+PHP" "HTML+Razor" "HTTP" 4464 "Euphoria" "F#" "F*" "FIGlet-Font" "FLUX" "Factor" "Fancy" "Fantom"
4464 "HXML" "Hack" "Haml" "Handlebars" "Harbour" "Haskell" "Haxe" "HiveQL" "HolyC" 4465 "Faust" "Fennel" "Filebench-WML" "Filterscript" "Fluent" "Formatted"
4465 "Hy" "HyPhy" "IDL" "IGOR-Pro" "INI" "IRC-log" "Idris" "Ignore-List" "Inform-7" 4466 "Forth" "Fortran" "Fortran-Free-Form" "FreeBasic" "FreeMarker"
4466 "Inno-Setup" "Io" "Ioke" "Isabelle" "Isabelle-ROOT" "JFlex" "JSON" 4467 "Frege" "Futhark" "G-code" "GAML" "GAMS" "GAP"
4467 "JSON-with-Comments" "JSON5" "JSONLD" "JSONiq" "JSX" "Jasmin" "Java" 4468 "GCC-Machine-Description" "GDB" "GDScript" "GEDCOM" "GLSL" "GN" "GSC"
4468 "Java-Properties" "Java-Server-Pages" "JavaScript" "JavaScript+ERB" "Jison" 4469 "Game-Maker-Language" "Gemfile.lock" "Gemini" "Genero-4gl"
4469 "Jison-Lex" "Jolie" "Jsonnet" "Julia" "Jupyter-Notebook" "KRL" "KiCad-Layout" 4470 "Genero-per" "Genie" "Genshi" "Gentoo-Ebuild" "Gentoo-Eclass"
4470 "KiCad-Legacy-Layout" "KiCad-Schematic" "Kit" "Kotlin" "LFE" "LLVM" "LOLCODE" 4471 "Gerber-Image" "Gettext-Catalog" "Gherkin" "Git-Attributes"
4471 "LSL" "LTspice-Symbol" "LabVIEW" "Lasso" "Latte" "Lean" "Less" "Lex" 4472 "Git-Config" "Git-Revision-List" "Gleam" "Glimmer-JS" "Glimmer-TS"
4472 "LilyPond" "Limbo" "Linker-Script" "Linux-Kernel-Module" "Liquid" 4473 "Glyph" "Glyph-Bitmap-Distribution-Format" "Gnuplot" "Go"
4473 "Literate-Agda" "Literate-CoffeeScript" "Literate-Haskell" "LiveScript" 4474 "Go-Checksums" "Go-Module" "Go-Workspace" "Godot-Resource" "Golo"
4474 "Logos" "Logtalk" "LookML" "LoomScript" "Lua" "M4" "M4Sugar" "MATLAB" 4475 "Gosu" "Grace" "Gradle" "Gradle-Kotlin-DSL" "Grammatical-Framework"
4475 "MAXScript" "MLIR" "MQL4" "MQL5" "MTML" "MUF" "Macaulay2" "Makefile" "Mako" 4476 "Graph-Modeling-Language" "GraphQL" "Graphviz-(DOT)" "Groovy"
4476 "Markdown" "Marko" "Mask" "Mathematica" "Maven-POM" "Max" "MediaWiki" 4477 "Groovy-Server-Pages" "HAProxy" "HCL" "HLSL" "HOCON" "HTML"
4477 "Mercury" "Meson" "Metal" "Microsoft-Developer-Studio-Project" "MiniD" "Mirah" 4478 "HTML+ECR" "HTML+EEX" "HTML+ERB" "HTML+PHP" "HTML+Razor" "HTTP"
4478 "Modelica" "Modula-2" "Modula-3" "Module-Management-System" "Monkey" "Moocode" 4479 "HXML" "Hack" "Haml" "Handlebars" "Harbour" "Haskell" "Haxe" "HiveQL"
4479 "MoonScript" "Motorola-68K-Assembly" "Muse" "Myghty" "NASL" "NCL" "NEON" "NL" 4480 "HolyC" "Hosts-File" "Hy" "HyPhy" "IDL" "IGOR-Pro" "INI" "IRC-log"
4480 "NPM-Config" "NSIS" "Nearley" "Nemerle" "NetLinx" "NetLinx+ERB" "NetLogo" 4481 "Idris" "Ignore-List" "ImageJ-Macro" "Imba" "Inform-7" "Ink"
4481 "NewLisp" "Nextflow" "Nginx" "Nim" "Ninja" "Nit" "Nix" "Nu" "NumPy" "OCaml" 4482 "Inno-Setup" "Io" "Ioke" "Isabelle" "Isabelle-ROOT" "J"
4482 "ObjDump" "Object-Data-Instance-Notation" "ObjectScript" "Objective-C" 4483 "JAR-Manifest" "JCL" "JFlex" "JSON" "JSON-with-Comments" "JSON5"
4483 "Objective-C++" "Objective-J" "Odin" "Omgrofl" "Opa" "Opal" 4484 "JSONLD" "JSONiq" "Janet" "Jasmin" "Java" "Java-Properties"
4484 "Open-Policy-Agent" "OpenCL" "OpenEdge-ABL" "OpenQASM" "OpenRC-runscript" 4485 "Java-Server-Pages" "JavaScript" "JavaScript+ERB" "Jest-Snapshot"
4485 "OpenSCAD" "OpenStep-Property-List" "OpenType-Feature-File" "Org" "Ox" 4486 "JetBrains-MPS" "Jinja" "Jison" "Jison-Lex" "Jolie" "Jsonnet" "Julia"
4486 "Oxygene" "Oz" "P4" "PHP" "PLSQL" "PLpgSQL" "POV-Ray-SDL" "Pan" "Papyrus" 4487 "Jupyter-Notebook" "Just" "KRL" "Kaitai-Struct" "KakouneScript"
4487 "Parrot" "Parrot-Assembly" "Parrot-Internal-Representation" "Pascal" "Pawn" 4488 "KerboScript" "KiCad-Layout" "KiCad-Legacy-Layout" "KiCad-Schematic"
4488 "Pep8" "Perl" "Pic" "Pickle" "PicoLisp" "PigLatin" "Pike" "PlantUML" "Pod" 4489 "Kickstart" "Kit" "Kotlin" "Kusto" "LFE" "LLVM" "LOLCODE" "LSL"
4489 "Pod-6" "PogoScript" "Pony" "PostCSS" "PostScript" "PowerBuilder" "PowerShell" 4490 "LTspice-Symbol" "LabVIEW" "Lark" "Lasso" "Latte" "Lean" "Lean-4"
4490 "Prisma" "Processing" "Proguard" "Prolog" "Propeller-Spin" "Protocol-Buffer" 4491 "Less" "Lex" "LigoLANG" "LilyPond" "Limbo" "Linker-Script"
4491 "Public-Key" "Pug" "Puppet" "Pure-Data" "PureBasic" "PureScript" "Python" 4492 "Linux-Kernel-Module" "Liquid" "Literate-Agda"
4492 "Python-console" "Python-traceback" "QML" "QMake" "Quake" "RAML" "RDoc" 4493 "Literate-CoffeeScript" "Literate-Haskell" "LiveScript" "Logos"
4493 "REALbasic" "REXX" "RHTML" "RMarkdown" "RPC" "RPM-Spec" "RUNOFF" "Racket" 4494 "Logtalk" "LookML" "LoomScript" "Lua" "M" "M4" "M4Sugar" "MATLAB"
4494 "Ragel" "Raku" "Rascal" "Raw-token-data" "Readline-Config" "Reason" "Rebol" 4495 "MAXScript" "MDX" "MLIR" "MQL4" "MQL5" "MTML" "MUF" "Macaulay2"
4495 "Red" "Redcode" "Regular-Expression" "Ren'Py" "RenderScript" 4496 "Makefile" "Mako" "Markdown" "Marko" "Mask" "Mathematica" "Maven-POM"
4496 "Rich-Text-Format" "Ring" "Riot" "RobotFramework" "Roff" "Roff-Manpage" 4497 "Max" "Mercury" "Mermaid" "Meson" "Metal"
4497 "Rouge" "Ruby" "Rust" "SAS" "SCSS" "SMT" "SPARQL" "SQF" "SQL" "SQLPL" 4498 "Microsoft-Developer-Studio-Project"
4498 "SRecode-Template" "SSH-Config" "STON" "SVG" "SWIG" "Sage" "SaltStack" "Sass" 4499 "Microsoft-Visual-Studio-Solution" "MiniD" "MiniYAML" "Mint" "Mirah"
4499 "Scala" "Scaml" "Scheme" "Scilab" "Self" "ShaderLab" "Shell" "ShellSession" 4500 "Modelica" "Modula-2" "Modula-3" "Module-Management-System" "Mojo"
4500 "Shen" "Slash" "Slice" "Slim" "SmPL" "Smali" "Smalltalk" "Smarty" "Solidity" 4501 "Monkey" "Monkey-C" "Moocode" "MoonScript" "Motoko"
4501 "SourcePawn" "Spline-Font-Database" "Squirrel" "Stan" "Standard-ML" "Starlark" 4502 "Motorola-68K-Assembly" "Move" "Muse" "Mustache" "Myghty" "NASL"
4502 "Stata" "Stylus" "SubRip-Text" "SugarSS" "SuperCollider" "Svelte" "Swift" 4503 "NCL" "NEON" "NL" "NPM-Config" "NSIS" "NWScript" "Nasal" "Nearley"
4503 "SystemVerilog" "TI-Program" "TLA" "TOML" "TSQL" "TSX" "TXL" "Tcl" "Tcsh" 4504 "Nemerle" "NetLinx" "NetLinx+ERB" "NetLogo" "NewLisp" "Nextflow"
4504 "TeX" "Tea" "Terra" "Texinfo" "Text" "Textile" "Thrift" "Turing" "Turtle" 4505 "Nginx" "Nim" "Ninja" "Nit" "Nix" "Nu" "NumPy" "Nunjucks" "Nushell"
4505 "Twig" "Type-Language" "TypeScript" "Unified-Parallel-C" "Unity3D-Asset" 4506 "OASv2-json" "OASv2-yaml" "OASv3-json" "OASv3-yaml" "OCaml" "Oberon"
4506 "Unix-Assembly" "Uno" "UnrealScript" "UrWeb" "VBA" "VBScript" "VCL" "VHDL" 4507 "ObjDump" "Object-Data-Instance-Notation" "ObjectScript"
4507 "Vala" "Verilog" "Vim-Snippet" "Vim-script" "Visual-Basic-.NET" "Volt" "Vue" 4508 "Objective-C" "Objective-C++" "Objective-J" "Odin" "Omgrofl" "Opa"
4508 "Wavefront-Material" "Wavefront-Object" "Web-Ontology-Language" "WebAssembly" 4509 "Opal" "Open-Policy-Agent" "OpenAPI-Specification-v2"
4509 "WebIDL" "WebVTT" "Wget-Config" "Windows-Registry-Entries" "Wollok" 4510 "OpenAPI-Specification-v3" "OpenCL" "OpenEdge-ABL" "OpenQASM"
4510 "World-of-Warcraft-Addon-Data" "X-BitMap" "X-Font-Directory-Index" "X-PixMap" 4511 "OpenRC-runscript" "OpenSCAD" "OpenStep-Property-List"
4511 "X10" "XC" "XCompose" "XML" "XML-Property-List" "XPages" "XProc" "XQuery" "XS" 4512 "OpenType-Feature-File" "Option-List" "Org" "Ox" "Oxygene" "Oz" "P4"
4512 "XSLT" "Xojo" "Xtend" "YAML" "YANG" "YARA" "YASnippet" "Yacc" "ZAP" "ZIL" 4513 "PDDL" "PEG.js" "PHP" "PLSQL" "PLpgSQL" "POV-Ray-SDL" "Pact" "Pan"
4513 "Zeek" "ZenScript" "Zephir" "Zig" "Zimpl" "cURL-Config" "desktop" "dircolors" 4514 "Papyrus" "Parrot" "Parrot-Assembly" "Parrot-Internal-Representation"
4514 "eC" "edn" "fish" "mIRC-Script" "mcfunction" "mupad" "nanorc" "nesC" "ooc" 4515 "Pascal" "Pawn" "Pep8" "Perl" "Pic" "Pickle" "PicoLisp" "PigLatin"
4515 "reStructuredText" "sed" "wdl" "wisp" "xBase") 4516 "Pike" "Pip-Requirements" "PlantUML" "Pod" "Pod-6" "PogoScript"
4517 "Polar" "Pony" "Portugol" "PostCSS" "PostScript" "PowerBuilder"
4518 "PowerShell" "Praat" "Prisma" "Processing" "Procfile" "Proguard"
4519 "Prolog" "Promela" "Propeller-Spin" "Protocol-Buffer"
4520 "Protocol-Buffer-Text-Format" "Public-Key" "Pug" "Puppet" "Pure-Data"
4521 "PureBasic" "PureScript" "Pyret" "Python" "Python-console"
4522 "Python-traceback" "Q#" "QML" "QMake" "Qt-Script" "Quake" "R" "RAML"
4523 "RBS" "RDoc" "REALbasic" "REXX" "RMarkdown" "RPC" "RPGLE" "RPM-Spec"
4524 "RUNOFF" "Racket" "Ragel" "Raku" "Rascal" "Raw-token-data" "ReScript"
4525 "Readline-Config" "Reason" "ReasonLIGO" "Rebol" "Record-Jar" "Red"
4526 "Redcode" "Redirect-Rules" "Regular-Expression" "Ren'Py"
4527 "RenderScript" "Rez" "Rich-Text-Format" "Ring" "Riot"
4528 "RobotFramework" "Roc" "Roff" "Roff-Manpage" "Rouge"
4529 "RouterOS-Script" "Ruby" "Rust" "SAS" "SCSS" "SELinux-Policy" "SMT"
4530 "SPARQL" "SQF" "SQL" "SQLPL" "SRecode-Template" "SSH-Config" "STAR"
4531 "STL" "STON" "SVG" "SWIG" "Sage" "SaltStack" "Sass" "Scala" "Scaml"
4532 "Scenic" "Scheme" "Scilab" "Self" "ShaderLab" "Shell"
4533 "ShellCheck-Config" "ShellSession" "Shen" "Sieve"
4534 "Simple-File-Verification" "Singularity" "Slash" "Slice" "Slim"
4535 "Slint" "SmPL" "Smali" "Smalltalk" "Smarty" "Smithy" "Snakemake"
4536 "Solidity" "Soong" "SourcePawn" "Spline-Font-Database" "Squirrel"
4537 "Stan" "Standard-ML" "Starlark" "Stata" "StringTemplate" "Stylus"
4538 "SubRip-Text" "SugarSS" "SuperCollider" "Svelte" "Sway" "Sweave"
4539 "Swift" "SystemVerilog" "TI-Program" "TL-Verilog" "TLA" "TOML" "TSQL"
4540 "TSV" "TSX" "TXL" "Talon" "Tcl" "Tcsh" "TeX" "Tea" "Terra"
4541 "Terraform-Template" "Texinfo" "Text" "TextGrid"
4542 "TextMate-Properties" "Textile" "Thrift" "Toit" "Turing" "Turtle"
4543 "Twig" "Type-Language" "TypeScript" "Typst" "Unified-Parallel-C"
4544 "Unity3D-Asset" "Unix-Assembly" "Uno" "UnrealScript" "UrWeb" "V"
4545 "VBA" "VBScript" "VCL" "VHDL" "Vala" "Valve-Data-Format"
4546 "Velocity-Template-Language" "Verilog" "Vim-Help-File" "Vim-Script"
4547 "Vim-Snippet" "Visual-Basic-.NET" "Visual-Basic-6.0" "Volt" "Vue"
4548 "Vyper" "WDL" "WGSL" "Wavefront-Material" "Wavefront-Object"
4549 "Web-Ontology-Language" "WebAssembly" "WebAssembly-Interface-Type"
4550 "WebIDL" "WebVTT" "Wget-Config" "Whiley" "Wikitext"
4551 "Win32-Message-File" "Windows-Registry-Entries" "Witcher-Script"
4552 "Wollok" "World-of-Warcraft-Addon-Data" "Wren" "X-BitMap"
4553 "X-Font-Directory-Index" "X-PixMap" "X10" "XC" "XCompose" "XML"
4554 "XML-Property-List" "XPages" "XProc" "XQuery" "XS" "XSLT" "Xojo"
4555 "Xonsh" "Xtend" "YAML" "YANG" "YARA" "YASnippet" "Yacc" "Yul" "ZAP"
4556 "ZIL" "Zeek" "ZenScript" "Zephir" "Zig" "Zimpl" "cURL-Config"
4557 "desktop" "dircolors" "eC" "edn" "fish" "hoon" "jq" "kvlang"
4558 "mIRC-Script" "mcfunction" "mupad" "nanorc" "nesC" "ooc" "q"
4559 "reStructuredText" "robots.txt" "sed" "wisp" "xBase")
4516 "Language specifiers recognized by GitHub's syntax highlighting features.") 4560 "Language specifiers recognized by GitHub's syntax highlighting features.")
4517 4561
4518(defvar-local markdown-gfm-used-languages nil 4562(defvar-local markdown-gfm-used-languages nil
diff --git a/.emacs.d/lisp/yasnippet.el b/.emacs.d/lisp/yasnippet.el
index fa36be7..0d52a96 100644
--- a/.emacs.d/lisp/yasnippet.el
+++ b/.emacs.d/lisp/yasnippet.el
@@ -848,18 +848,19 @@ which decides on the snippet to expand.")
848 (cons (if (eq mode 'fundamental-mode) () 848 (cons (if (eq mode 'fundamental-mode) ()
849 (append (cdr ap) '(fundamental-mode))) 849 (append (cdr ap) '(fundamental-mode)))
850 extras)))) 850 extras))))
851 (cons mode 851 (delete-dups
852 (yas--merge-ordered-lists 852 (cons mode
853 (mapcar #'yas--all-parents 853 (yas--merge-ordered-lists
854 (remq nil 854 (mapcar #'yas--all-parents
855 `(,(or (get mode 'derived-mode-parent) 855 (remq nil
856 ;; Consider `fundamental-mode' 856 `(,(or (get mode 'derived-mode-parent)
857 ;; as ultimate ancestor. 857 ;; Consider `fundamental-mode'
858 'fundamental-mode) 858 ;; as ultimate ancestor.
859 ,(let ((alias (symbol-function mode))) 859 'fundamental-mode)
860 (when (symbolp alias) alias)) 860 ,(let ((alias (symbol-function mode)))
861 ,@(get mode 'derived-mode-extra-parents) 861 (when (symbolp alias) alias))
862 ,@(gethash mode yas--parents))))))))) 862 ,@(get mode 'derived-mode-extra-parents)
863 ,@(gethash mode yas--parents))))))))))
863 (dolist (parent all-parents) 864 (dolist (parent all-parents)
864 (cl-pushnew mode (get parent 'yas--cached-children))) 865 (cl-pushnew mode (get parent 'yas--cached-children)))
865 (put mode 'yas--all-parents all-parents))))) 866 (put mode 'yas--all-parents all-parents)))))
diff --git a/.emacs.d/snippets/markdown-mode/back-quote b/.emacs.d/snippets/markdown-mode/back-quote
new file mode 100644
index 0000000..519fe14
--- /dev/null
+++ b/.emacs.d/snippets/markdown-mode/back-quote
@@ -0,0 +1,6 @@
1# -*- mode: snippet -*-
2# name: Inline Code
3# contributor: Peng Deng <dengpeng@gmail.com>
4# key: `
5# --
6\`${1:Code}\` $0 \ No newline at end of file
diff --git a/.emacs.d/snippets/markdown-mode/code b/.emacs.d/snippets/markdown-mode/code
new file mode 100644
index 0000000..4289e72
--- /dev/null
+++ b/.emacs.d/snippets/markdown-mode/code
@@ -0,0 +1,7 @@
1# -*- mode: snippet -*-
2# name: Code block
3# key: code
4# --
5\`\`\`$1
6$0
7\`\`\`
diff --git a/.emacs.d/snippets/markdown-mode/emphasis b/.emacs.d/snippets/markdown-mode/emphasis
new file mode 100644
index 0000000..0ef6878
--- /dev/null
+++ b/.emacs.d/snippets/markdown-mode/emphasis
@@ -0,0 +1,6 @@
1# -*- mode: snippet -*-
2# name: Emphasis
3# contributor: Peng Deng <dengpeng@gmail.com>
4# key: _
5# --
6_${1:Text}_ $0 \ No newline at end of file
diff --git a/.emacs.d/snippets/markdown-mode/h1.1 b/.emacs.d/snippets/markdown-mode/h1.1
new file mode 100644
index 0000000..534337a
--- /dev/null
+++ b/.emacs.d/snippets/markdown-mode/h1.1
@@ -0,0 +1,8 @@
1# -*- mode: snippet -*-
2# name: Header 1 (#)
3# contributor: Peng Deng <dengpeng@gmail.com>
4# key: h1
5# --
6# ${1:Header 1} #
7
8$0 \ No newline at end of file
diff --git a/.emacs.d/snippets/markdown-mode/h1.2 b/.emacs.d/snippets/markdown-mode/h1.2
new file mode 100644
index 0000000..dbf567c
--- /dev/null
+++ b/.emacs.d/snippets/markdown-mode/h1.2
@@ -0,0 +1,9 @@
1# -*- mode: snippet -*-
2# name: Header 1 (=)
3# contributor: Peng Deng <dengpeng@gmail.com>
4# key: h1
5# --
6${1:Header 1}
7${1:$(make-string (string-width yas-text) ?\=)}
8
9$0 \ No newline at end of file
diff --git a/.emacs.d/snippets/markdown-mode/h2.1 b/.emacs.d/snippets/markdown-mode/h2.1
new file mode 100644
index 0000000..7830c97
--- /dev/null
+++ b/.emacs.d/snippets/markdown-mode/h2.1
@@ -0,0 +1,8 @@
1# -*- mode: snippet -*-
2# name: Header 2 (##)
3# contributor: Peng Deng <dengpeng@gmail.com>
4# key: h2
5# --
6## ${1:Header 1} ##
7
8$0 \ No newline at end of file
diff --git a/.emacs.d/snippets/markdown-mode/h2.2 b/.emacs.d/snippets/markdown-mode/h2.2
new file mode 100644
index 0000000..16baba9
--- /dev/null
+++ b/.emacs.d/snippets/markdown-mode/h2.2
@@ -0,0 +1,9 @@
1# -*- mode: snippet -*-
2# name: Header 2 (-)
3# contributor: Peng Deng <dengpeng@gmail.com>
4# key: h2
5# --
6${1:Header 2}
7${1:$(make-string (string-width yas-text) ?\-)}
8
9$0 \ No newline at end of file
diff --git a/.emacs.d/snippets/markdown-mode/h3 b/.emacs.d/snippets/markdown-mode/h3
new file mode 100644
index 0000000..ba2a552
--- /dev/null
+++ b/.emacs.d/snippets/markdown-mode/h3
@@ -0,0 +1,8 @@
1# -*- mode: snippet -*-
2# name: Header 3
3# contributor: Peng Deng <dengpeng@gmail.com>
4# key: h3
5# --
6### ${1:Header 3} ###
7
8$0 \ No newline at end of file
diff --git a/.emacs.d/snippets/markdown-mode/h4 b/.emacs.d/snippets/markdown-mode/h4
new file mode 100644
index 0000000..d9f5ec6
--- /dev/null
+++ b/.emacs.d/snippets/markdown-mode/h4
@@ -0,0 +1,8 @@
1# -*- mode: snippet -*-
2# name: Header 4
3# contributor: Peng Deng <dengpeng@gmail.com>
4# key: h4
5# --
6#### ${1:Header 4} ####
7
8$0 \ No newline at end of file
diff --git a/.emacs.d/snippets/markdown-mode/h5 b/.emacs.d/snippets/markdown-mode/h5
new file mode 100644
index 0000000..08fc8f1
--- /dev/null
+++ b/.emacs.d/snippets/markdown-mode/h5
@@ -0,0 +1,8 @@
1# -*- mode: snippet -*-
2# name: Header 5
3# contributor: Peng Deng <dengpeng@gmail.com>
4# key: h5
5# --
6##### ${1:Header 5} #####
7
8$0 \ No newline at end of file
diff --git a/.emacs.d/snippets/markdown-mode/h6 b/.emacs.d/snippets/markdown-mode/h6
new file mode 100644
index 0000000..24b974d
--- /dev/null
+++ b/.emacs.d/snippets/markdown-mode/h6
@@ -0,0 +1,8 @@
1# -*- mode: snippet -*-
2# name: Header 6
3# contributor: Peng Deng <dengpeng@gmail.com>
4# key: h6
5# --
6###### ${1:Header 6} ######
7
8$0 \ No newline at end of file
diff --git a/.emacs.d/snippets/markdown-mode/highlight b/.emacs.d/snippets/markdown-mode/highlight
new file mode 100644
index 0000000..2e47e18
--- /dev/null
+++ b/.emacs.d/snippets/markdown-mode/highlight
@@ -0,0 +1,8 @@
1# -*- mode: snippet -*-
2# name: Highlight
3# contributor: nguyenvinhlinh <nguyenvinhlinh93@gmail.com>
4# key: highlight
5# --
6{% highlight ${1:language} %}
7${0:content}
8{% endhighlight %} \ No newline at end of file
diff --git a/.emacs.d/snippets/markdown-mode/hr.1 b/.emacs.d/snippets/markdown-mode/hr.1
new file mode 100644
index 0000000..579ba01
--- /dev/null
+++ b/.emacs.d/snippets/markdown-mode/hr.1
@@ -0,0 +1,9 @@
1# -*- mode: snippet -*-
2# name: Horizontal Rule (-)
3# contributor: Peng Deng <dengpeng@gmail.com>
4# key: hr
5# --
6
7----------
8
9$0 \ No newline at end of file
diff --git a/.emacs.d/snippets/markdown-mode/hr.2 b/.emacs.d/snippets/markdown-mode/hr.2
new file mode 100644
index 0000000..4d34e2f
--- /dev/null
+++ b/.emacs.d/snippets/markdown-mode/hr.2
@@ -0,0 +1,9 @@
1# -*- mode: snippet -*-
2# name: Horizontal Rule (*)
3# contributor: Peng Deng <dengpeng@gmail.com>
4# key: hr
5# --
6
7*******
8
9$0 \ No newline at end of file
diff --git a/.emacs.d/snippets/markdown-mode/hyphen b/.emacs.d/snippets/markdown-mode/hyphen
new file mode 100644
index 0000000..8827292
--- /dev/null
+++ b/.emacs.d/snippets/markdown-mode/hyphen
@@ -0,0 +1,7 @@
1# -*- mode: snippet -*-
2# name: Unordered List -
3# contributor: Peng Deng <dengpeng@gmail.com>
4# key: -
5# --
6- ${1:Text}
7- $0
diff --git a/.emacs.d/snippets/markdown-mode/img b/.emacs.d/snippets/markdown-mode/img
new file mode 100644
index 0000000..9a0db4f
--- /dev/null
+++ b/.emacs.d/snippets/markdown-mode/img
@@ -0,0 +1,6 @@
1# -*- mode: snippet -*-
2# name: Image
3# contributor: Peng Deng <dengpeng@gmail.com>
4# key: img
5# --
6![${1:Alt Text}](${2:URL} $3) $0 \ No newline at end of file
diff --git a/.emacs.d/snippets/markdown-mode/link b/.emacs.d/snippets/markdown-mode/link
new file mode 100644
index 0000000..2b96f56
--- /dev/null
+++ b/.emacs.d/snippets/markdown-mode/link
@@ -0,0 +1,6 @@
1# -*- mode: snippet -*-
2# name: Link
3# contributor: Peng Deng <dengpeng@gmail.com>
4# key: link
5# --
6[${1:Link Text}](${2:URL} $3) $0 \ No newline at end of file
diff --git a/.emacs.d/snippets/markdown-mode/ordered-list b/.emacs.d/snippets/markdown-mode/ordered-list
new file mode 100644
index 0000000..beb0f28
--- /dev/null
+++ b/.emacs.d/snippets/markdown-mode/ordered-list
@@ -0,0 +1,7 @@
1# -*- mode: snippet -*-
2# name: Ordered List
3# contributor: Peng Deng <dengpeng@gmail.com>
4# key: ol
5# --
6${1:1}. ${2:Text}
7${1:$(number-to-string (1+ (string-to-number yas-text)))}. $0 \ No newline at end of file
diff --git a/.emacs.d/snippets/markdown-mode/plus b/.emacs.d/snippets/markdown-mode/plus
new file mode 100644
index 0000000..ebcaab1
--- /dev/null
+++ b/.emacs.d/snippets/markdown-mode/plus
@@ -0,0 +1,7 @@
1# -*- mode: snippet -*-
2# name: Unordered List +
3# contributor: Peng Deng <dengpeng@gmail.com>
4# key: +
5# --
6+ ${1:Text}
7+$0 \ No newline at end of file
diff --git a/.emacs.d/snippets/markdown-mode/rimg b/.emacs.d/snippets/markdown-mode/rimg
new file mode 100644
index 0000000..85046e4
--- /dev/null
+++ b/.emacs.d/snippets/markdown-mode/rimg
@@ -0,0 +1,6 @@
1# -*- mode: snippet -*-
2# name: Referenced Image
3# contributor: Peng Deng <dengpeng@gmail.com>
4# key: rimg
5# --
6![${1:Alt Text}][$2] $0 \ No newline at end of file
diff --git a/.emacs.d/snippets/markdown-mode/rlb b/.emacs.d/snippets/markdown-mode/rlb
new file mode 100644
index 0000000..6aabc4a
--- /dev/null
+++ b/.emacs.d/snippets/markdown-mode/rlb
@@ -0,0 +1,7 @@
1# -*- mode: snippet -*-
2# name: Reference Label
3# contributor: Peng Deng <dengpeng@gmail.com>
4# key: rlb
5# --
6[${1:Reference}]: ${2:URL} $3
7$0 \ No newline at end of file
diff --git a/.emacs.d/snippets/markdown-mode/rlink b/.emacs.d/snippets/markdown-mode/rlink
new file mode 100644
index 0000000..cce2e1a
--- /dev/null
+++ b/.emacs.d/snippets/markdown-mode/rlink
@@ -0,0 +1,6 @@
1# -*- mode: snippet -*-
2# name: Reference Link
3# contributor: Peng Deng <dengpeng@gmail.com>
4# key: rlink
5# --
6[${1:Link Text}][$2] $0 \ No newline at end of file
diff --git a/.emacs.d/snippets/markdown-mode/strong-emphasis b/.emacs.d/snippets/markdown-mode/strong-emphasis
new file mode 100644
index 0000000..bcef3f9
--- /dev/null
+++ b/.emacs.d/snippets/markdown-mode/strong-emphasis
@@ -0,0 +1,6 @@
1# -*- mode: snippet -*-
2# name: Strong emphasis
3# contributor: Peng Deng <dengpeng@gmail.com>
4# key: __
5# --
6**${1:Text}** $0 \ No newline at end of file
diff --git a/.emacs.d/snippets/markdown-mode/utf8 b/.emacs.d/snippets/markdown-mode/utf8
new file mode 100644
index 0000000..0b39d88
--- /dev/null
+++ b/.emacs.d/snippets/markdown-mode/utf8
@@ -0,0 +1,7 @@
1# -*- mode: snippet -*-
2# name: UTF-8 encoding
3# key: utf8
4# contributor: Thiago Perrotta
5# --
6<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
7$0 \ No newline at end of file
diff --git a/.emacs.d/snippets/prog-mode/.yas-setup.el b/.emacs.d/snippets/prog-mode/.yas-setup.el
index 486ae47..7d6127d 100644
--- a/.emacs.d/snippets/prog-mode/.yas-setup.el
+++ b/.emacs.d/snippets/prog-mode/.yas-setup.el
@@ -1,3 +1,4 @@
1;;; -*- lexical-binding: t -*-
1(require 'yasnippet) 2(require 'yasnippet)
2 3
3;; whitespace removing functions from Magnar Sveen ;;;;;;;;;;;;;;;;;;;;;;;;;;;; 4;; whitespace removing functions from Magnar Sveen ;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@@ -29,8 +30,9 @@
29 (yas-s-trim comment-start)) 30 (yas-s-trim comment-start))
30 31
31(defun yas-trimmed-comment-end () 32(defun yas-trimmed-comment-end ()
32 "This function returns `comment-end' trimmed by whitespaces if `comment-end' is not empty. 33 "This function returns `comment-end' trimmed by whitespaces if
33Otherwise the reversed output of function `yas-trimmed-comment-start' is returned." 34`comment-end' is not empty. Otherwise the reversed output of
35function `yas-trimmed-comment-start' is returned."
34 (if (eq (length comment-end) 0) 36 (if (eq (length comment-end) 0)
35 (yas-string-reverse (yas-trimmed-comment-start)) 37 (yas-string-reverse (yas-trimmed-comment-start))
36 (yas-s-trim comment-end))) 38 (yas-s-trim comment-end)))
diff --git a/.emacs.d/snippets/python-mode.statnett/.yas-setup.el b/.emacs.d/snippets/python-mode.statnett/.yas-setup.el
index 8b29215..e9145ef 100644
--- a/.emacs.d/snippets/python-mode.statnett/.yas-setup.el
+++ b/.emacs.d/snippets/python-mode.statnett/.yas-setup.el
@@ -1,3 +1,4 @@
1;;; -*- lexical-binding: t -*-
1(require 'yasnippet) 2(require 'yasnippet)
2(defvar yas-text) 3(defvar yas-text)
3 4
diff --git a/.emacs.d/snippets/python-mode/.yas-setup.el b/.emacs.d/snippets/python-mode/.yas-setup.el
index 8b29215..e9145ef 100644
--- a/.emacs.d/snippets/python-mode/.yas-setup.el
+++ b/.emacs.d/snippets/python-mode/.yas-setup.el
@@ -1,3 +1,4 @@
1;;; -*- lexical-binding: t -*-
1(require 'yasnippet) 2(require 'yasnippet)
2(defvar yas-text) 3(defvar yas-text)
3 4
diff --git a/.emacs.d/snippets/yasnippet-snippets.el b/.emacs.d/snippets/yasnippet-snippets.el
new file mode 100644
index 0000000..958f6da
--- /dev/null
+++ b/.emacs.d/snippets/yasnippet-snippets.el
@@ -0,0 +1,77 @@
1;;; yasnippet-snippets.el --- Collection of yasnippet snippets -*- lexical-binding: t -*-
2
3;; Copyright (C) 2017 Andrea Crotti
4
5;; Author: Andrea Crotti <andrea.crotti.0@gmail.com>
6;; Keywords: snippets
7;; Version: 1.0
8;; Package-Requires: ((yasnippet "0.8.0"))
9;; Keywords: convenience, snippets
10;; Homepage: https://github.com/AndreaCrotti/yasnippet-snippets
11
12;;; Commentary:
13
14;; Official snippet collection for the yasnippet package.
15
16;;; License:
17
18;; This program is free software; you can redistribute it and/or modify
19;; it under the terms of the GNU General Public License as published by
20;; the Free Software Foundation, either version 3 of the License, or
21;; (at your option) any later version.
22
23;; This program is distributed in the hope that it will be useful,
24;; but WITHOUT ANY WARRANTY; without even the implied warranty of
25;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26;; GNU General Public License for more details.
27
28;; You should have received a copy of the GNU General Public License
29;; along with this program. If not, see <http://www.gnu.org/licenses/>.
30
31;;; Code:
32
33(require 'yasnippet)
34
35(defconst yasnippet-snippets-dir
36 (expand-file-name
37 "snippets"
38 (file-name-directory
39 ;; Copied from ‘f-this-file’ from f.el.
40 (cond
41 (load-in-progress load-file-name)
42 ((and (boundp 'byte-compile-current-file) byte-compile-current-file)
43 byte-compile-current-file)
44 (:else (buffer-file-name))))))
45
46;;;###autoload
47(defun yasnippet-snippets-initialize ()
48 "Load the `yasnippet-snippets' snippets directory."
49 ;; NOTE: we add the symbol `yasnippet-snippets-dir' rather than its
50 ;; value, so that yasnippet will automatically find the directory
51 ;; after this package is updated (i.e., moves directory).
52 (unless (member 'yasnippet-snippets-dir yas-snippet-dirs)
53 (add-to-list 'yas-snippet-dirs 'yasnippet-snippets-dir t)
54 (yas--load-snippet-dirs)))
55
56(defgroup yasnippet-snippets nil
57 "Options for yasnippet setups.
58
59This is useful for customizing options declared in
60“.yas-setup.el” files. For example, you could declare a
61customizable variable used for a snippet expansion.
62
63See Info node `(elisp)Customization Types'."
64 :group 'yasnippet)
65
66(defun yasnippet-snippets--no-indent ()
67 "Set `yas-indent-line' to nil."
68 (set (make-local-variable 'yas-indent-line) nil))
69
70;;;###autoload
71(eval-after-load 'yasnippet
72 '(yasnippet-snippets-initialize))
73
74
75(provide 'yasnippet-snippets)
76
77;;; yasnippet-snippets.el ends here