diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2021-09-29 19:48:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-29 19:48:50 +0200 |
commit | d90fb1c0bfc1e64c783c385a79e7de87013dadba (patch) | |
tree | 5a27261e9aed7ebdb95122fc888811ea5f903cc8 /src/nvim/os/fs.c | |
parent | ec4731d982031e363a59efd4566fc72234bb43c8 (diff) | |
download | rneovim-d90fb1c0bfc1e64c783c385a79e7de87013dadba.tar.gz rneovim-d90fb1c0bfc1e64c783c385a79e7de87013dadba.tar.bz2 rneovim-d90fb1c0bfc1e64c783c385a79e7de87013dadba.zip |
Refactor/uncrustify (#15790)
* refactor: format with uncrustify
* fixup(dundar): fix functions comments
* fixup(dundar): remove space between variable and ++/--
* fixup(dundar): better workaround for macro attributes
This is done to be able to better use uncrustify rules for macros
* fixup(justin): make preprocessors follow neovim style guide
Diffstat (limited to 'src/nvim/os/fs.c')
-rw-r--r-- | src/nvim/os/fs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/os/fs.c b/src/nvim/os/fs.c index d50d68c99e..bbf70a4830 100644 --- a/src/nvim/os/fs.c +++ b/src/nvim/os/fs.c @@ -29,7 +29,7 @@ #include "nvim/strings.h" #ifdef WIN32 -#include "nvim/mbyte.h" // for utf8_to_utf16, utf16_to_utf8 +# include "nvim/mbyte.h" // for utf8_to_utf16, utf16_to_utf8 #endif #ifdef INCLUDE_GENERATED_DECLARATIONS @@ -1226,12 +1226,12 @@ char *os_resolve_shortcut(const char *fname) goto shortcut_errorw; } -# if 0 // This makes Vim wait a long time if the target does not exist. +# if 0 // This makes Vim wait a long time if the target does not exist. hr = pslw->lpVtbl->Resolve(pslw, NULL, SLR_NO_UI); if (hr != S_OK) { goto shortcut_errorw; } -# endif +# endif // Get the path to the link target. ZeroMemory(wsz, MAX_PATH * sizeof(wchar_t)); @@ -1262,7 +1262,7 @@ shortcut_end: return rfname; } -#define is_path_sep(c) ((c) == L'\\' || (c) == L'/') +# define is_path_sep(c) ((c) == L'\\' || (c) == L'/') /// Returns true if the path contains a reparse point (junction or symbolic /// link). Otherwise false in returned. bool os_is_reparse_point_include(const char *path) |