yasnippet-snippets
yasnippet-snippets copied to clipboard
Typos causes emacs warnings
trafficstars
Hello,
There appear to be a few typographical errors in the c++ and cc modes that cause warnings in emacs:
Ignoring unknown directive "desc" in file: /home/user/spacemacs/elpa/29.2/develop/yasnippet-snippets-20240115.1138/snippets/c++-mode/class11
Ignoring unknown directive "\\${[0-9N]*" in file: /home/user/spacemacs/elpa/29.2/develop/yasnippet-snippets-20240115.1138/snippets/c++-mode/class11
Ignoring unknown directive "References" in file: /home/user/spacemacs/elpa/29.2/develop/yasnippet-snippets-20240115.1138/snippets/c++-mode/class11
Ignoring unknown directive "cotributor" in file: /home/user/spacemacs/elpa/29.2/develop/yasnippet-snippets-20240115.1138/snippets/cc-mode/file_description
Ignoring unknown directive "cotributor" in file: /home/user/spacemacs/elpa/29.2/develop/yasnippet-snippets-20240115.1138/snippets/cc-mode/function_description
Ignoring unknown directive "cotributor" in file: /home/user/spacemacs/elpa/29.2/develop/yasnippet-snippets-20240115.1138/snippets/cc-mode/member_description
Ignoring unknown directive "desc" in file: /home/user/spacemacs/elpa/29.2/develop/yasnippet-snippets-20240115.1138/snippets/c++-mode/class11
Ignoring unknown directive "\\${[0-9N]*" in file: /home/user/spacemacs/elpa/29.2/develop/yasnippet-snippets-20240115.1138/snippets/c++-mode/class11
Ignoring unknown directive "References" in file: /home/user/spacemacs/elpa/29.2/develop/yasnippet-snippets-20240115.1138/snippets/c++-mode/class11
Ignoring unknown directive "cotributor" in file: /home/user/spacemacs/elpa/29.2/develop/yasnippet-snippets-20240115.1138/snippets/cc-mode/file_description
Ignoring unknown directive "cotributor" in file: /home/user/spacemacs/elpa/29.2/develop/yasnippet-snippets-20240115.1138/snippets/cc-mode/function_description
Ignoring unknown directive "cotributor" in file: /home/user/spacemacs/elpa/29.2/develop/yasnippet-snippets-20240115.1138/snippets/cc-mode/member_description
The cotributor typo can be fixed with a simple search and replace
c++-mode/class11 needs the header comments to comply to the standard
Thanks!
The function_docstring snippet for Python causes a similar warning:
Ignoring unknown directive "NOTE" in file: /home/user/.emacs.d/elpa/yasnippet-snippets-20240115.1138/snippets/python-mode/function_docstring