We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cacd22f commit 07b3bdaCopy full SHA for 07b3bda
c++-mode/.yas-setup.el
@@ -1,7 +1,7 @@
1
(defun doom-snippets-c++-using-std-p ()
2
"Return non-nil if 'using namespace std' is found at the top of this file."
3
(save-excursion
4
- (goto-char (point-max))
+ (goto-char (point-min))
5
(or (search-forward "using namespace std;" 512 t)
6
(search-forward "std::" 1024 t))))
7
0 commit comments