Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Commit

Permalink
Use namespace replacement variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mfherbst committed Aug 6, 2017
1 parent 4a457ec commit 7621ec5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions templates/cc.template
Expand Up @@ -19,8 +19,8 @@

#include "{{FILE}}.hh"

namespace {{PROJECT}} {
namespace {{NAMESPACE}} {

{{CURSOR}}

} // namespace {{PROJECT}}
} // namespace {{NAMESPACE}}
4 changes: 2 additions & 2 deletions templates/hh.template
Expand Up @@ -19,8 +19,8 @@

#pragma once

namespace {{PROJECT}} {
namespace {{NAMESPACE}} {

{{CURSOR}}

} // namespace {{PROJECT}}
} // namespace {{NAMESPACE}}
1 change: 1 addition & 0 deletions templates/tmpl_settings.vim
@@ -1 +1,2 @@
let g:tmpl_project="lazyten"
let g:tmpl_namespace="lazyten"

0 comments on commit 7621ec5

Please sign in to comment.