diff options
author | Eliseo Martínez <eliseomarmol@gmail.com> | 2014-05-12 15:53:15 +0200 |
---|---|---|
committer | Eliseo Martínez <eliseomarmol@gmail.com> | 2014-05-15 20:46:02 +0200 |
commit | 575deff66dacbd9d856fdf1e5d598af109313a50 (patch) | |
tree | d09fc26f23aef6ed0613d91f02a4bd5450fb4bd8 /clint.py | |
parent | 2ababe5a99e5c6c6c5ad2d3e528898155a9c0ade (diff) | |
download | rneovim-575deff66dacbd9d856fdf1e5d598af109313a50.tar.gz rneovim-575deff66dacbd9d856fdf1e5d598af109313a50.tar.bz2 rneovim-575deff66dacbd9d856fdf1e5d598af109313a50.zip |
Introduce nvim namespace: Fix clint.
- Fix path to clint-checked files.
- Fix mechanism to calculate define guard names.
Diffstat (limited to 'clint.py')
-rwxr-xr-x | clint.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -627,7 +627,7 @@ class FileInfo: return os.path.abspath(self._filename).replace('\\', '/') def RelativePath(self): - """FullName with /home/julian/c/neovim/src/ chopped off.""" + """FullName with <prefix>/src/nvim/ chopped off.""" fullname = self.FullName() if os.path.exists(fullname): @@ -639,7 +639,7 @@ class FileInfo: root_dir = os.path.dirname(root_dir) if os.path.exists(os.path.join(root_dir, ".git")): - root_dir = os.path.join(root_dir, "src") + root_dir = os.path.join(root_dir, "src", "nvim") prefix = os.path.commonprefix([root_dir, project_dir]) return fullname[len(prefix) + 1:] |