1
0
Fork 0

Add snippet to add the namespace to a file

This commit is contained in:
Tom Willemsen 2024-12-30 11:26:11 -08:00
parent ed273e59d2
commit 233c57fc89

View file

@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: namespace
# key: ns
# --
namespace ${1:`(string-join (mapcar #'capitalize (cdr (split-string (directory-file-name (file-name-directory (file-relative-name buffer-file-name (project-root (project-current))))) "/"))) "\\")`};