Hi,
On Mon, Feb 12, 2024 at 6:55 AM Luca Saccarola
<
luca.sa...@saccarosium.com> wrote:
>
> Hi,
> I was experimenting with setting up clangd and clang-format for the
> codebase. I've read the `:h develop` but I still have missing
> information.
>
> 1. Tabs or spaces? The documentation doesn't specify it and the source
> files sometimes mix spaces and tabs.
>
The Vim source base uses 'softtabstop' (a mix of spaces and tabs):
https://vimhelp.org/options.txt.html#%27softtabstop%27
The following options are set for the source files through a modeline:
tabstop=8 softtabstop=4 shiftwidth=4 noexpandtab
> 2. What parts of C99 are supported? There are some listed but there are
> more?
>
> There are some recommended tooling for develop, analyze the vim
> source code? It would be welcomed if I setup some tooling if none
> are there?
>
I created
https://gist.github.com/yegappan/1e88a9aed4f9f266d91d768b633487f3
to document
some of the steps that I follow for my contributions.
Regards,
Yegappan