aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/runtime.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2021-10-02 16:59:41 +0200
committerGitHub <noreply@github.com>2021-10-02 07:59:41 -0700
commit9c268263b1792d00b3ffdfd7495af2575862656e (patch)
tree39153ef6da8b4f464c1a14602d04d99579bbd33f /src/nvim/runtime.c
parent898f91f0f3cedb224cde1c5b6840abea3e767892 (diff)
downloadrneovim-9c268263b1792d00b3ffdfd7495af2575862656e.tar.gz
rneovim-9c268263b1792d00b3ffdfd7495af2575862656e.tar.bz2
rneovim-9c268263b1792d00b3ffdfd7495af2575862656e.zip
refactor: format with uncrustify #15842
* refactor: format with uncrustify * refactor: convert function comments to doxygen
Diffstat (limited to 'src/nvim/runtime.c')
-rw-r--r--src/nvim/runtime.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/nvim/runtime.c b/src/nvim/runtime.c
index 7b72efce23..f0b54a254f 100644
--- a/src/nvim/runtime.c
+++ b/src/nvim/runtime.c
@@ -5,8 +5,8 @@
///
/// Management of runtime files (including packages)
-#include "nvim/ascii.h"
#include "nvim/api/private/helpers.h"
+#include "nvim/ascii.h"
#include "nvim/charset.h"
#include "nvim/eval.h"
#include "nvim/ex_cmds.h"
@@ -169,9 +169,9 @@ int do_in_path(char_u *path, char_u *name, int flags, DoInRuntimepathCB callback
int do_in_cached_path(char_u *name, int flags, DoInRuntimepathCB callback, void *cookie)
{
runtime_search_path_validate();
- char_u *tail;
+ char_u *tail;
int num_files;
- char_u **files;
+ char_u **files;
int i;
bool did_one = false;
@@ -452,11 +452,11 @@ void runtime_search_path_invalidate(void)
void runtime_search_path_free(RuntimeSearchPath path)
{
- for (size_t j = 0; j < kv_size(path); j++) {
- SearchPathItem item = kv_A(path, j);
- xfree(item.path);
- }
- kv_destroy(path);
+ for (size_t j = 0; j < kv_size(path); j++) {
+ SearchPathItem item = kv_A(path, j);
+ xfree(item.path);
+ }
+ kv_destroy(path);
}
void runtime_search_path_validate(void)