Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 07b3bda

Browse files
authored
fix(c++): doom-snippets-c++-using-std-p
1 parent cacd22f commit 07b3bda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎c++-mode/.yas-setup.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(defun doom-snippets-c++-using-std-p ()
22
"Return non-nil if 'using namespace std' is found at the top of this file."
33
(save-excursion
4-
(goto-char (point-max))
4+
(goto-char (point-min))
55
(or (search-forward "using namespace std;" 512 t)
66
(search-forward "std::" 1024 t))))
77

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /