refactor: fix IWYU mapping file and use IWYU (#21802)

Also add the EXITFREE definition to main_lib rather than the nvim target, as the header generation needs the EXITFREE flag to work properly.
This commit is contained in:
dundargoc
2023-01-15 14:16:33 +01:00
committed by GitHub
parent 43feb973e3
commit 3269902a13
48 changed files with 72 additions and 45 deletions

View File

@@ -4,6 +4,7 @@
// textobject.c: functions for text objects
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
@@ -28,7 +29,6 @@
#include "nvim/search.h"
#include "nvim/strings.h"
#include "nvim/textobject.h"
#include "nvim/types.h"
#include "nvim/vim.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS