Skip to content

Commit 965ce67

Browse files
author
Benedikt Tissot
committed
fix julia-mode/.yas-setup.el
1 parent b0f9cd1 commit 965ce67

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

julia-mode/.yas-setup.el

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
1-
;;; ~/Repos/bennetis_dotfiles/emacs/.doom.d/snippets/julia-mode/.yas-setup.el -*- lexical-binding: t; -*-
1+
;;; julia-mode/.yas-setup.el -*- lexical-binding: t; -*-
22

3-
4-
5-
(require 'yasnippet)
6-
7-
(defun yas-julia-iteration-keyword-choice ()
8-
"Choose the iteration keyword for for-loop"
9-
(yas-choose-value '("=" "in" "")))
103
(defun yas-julia-doc-args ()
114
"Format arguments of a function slightly nicer for the doc string"
125
(replace-regexp-in-string "\\([:blank:]*[,;]?*[^,;=]+=[[:ascii:][:nonascii:]]+\\)" "[\\1]" yas-text))

0 commit comments

Comments
 (0)