mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 06:58:35 +00:00
refactor: format all C files under nvim/ #15977
* refactor: format all C files under nvim * refactor: disable formatting for Vim-owned files: * src/nvim/indent_c.c * src/nvim/regexp.c * src/nvim/regexp_nfa.c * src/nvim/testdir/samples/memfile_test.c
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
#ifndef NVIM_CHARSET_H
|
||||
#define NVIM_CHARSET_H
|
||||
|
||||
#include "nvim/types.h"
|
||||
#include "nvim/pos.h"
|
||||
#include "nvim/buffer_defs.h"
|
||||
#include "nvim/eval/typval.h"
|
||||
#include "nvim/option_defs.h"
|
||||
#include "nvim/pos.h"
|
||||
#include "nvim/types.h"
|
||||
|
||||
/// Return the folded-case equivalent of the given character
|
||||
///
|
||||
@@ -13,7 +13,7 @@
|
||||
///
|
||||
/// @return Folded variant.
|
||||
#define CH_FOLD(c) \
|
||||
utf_fold((sizeof(c) == sizeof(char)) \
|
||||
utf_fold((sizeof(c) == sizeof(char)) \
|
||||
?((int)(uint8_t)(c)) \
|
||||
:((int)(c)))
|
||||
|
||||
|
Reference in New Issue
Block a user