mirror of
https://github.com/neovim/neovim.git
synced 2025-09-10 21:38:19 +00:00
Introduce nvim namespace: Fix relative includes.
Problem: Some newly introduced files used includes relative to the current file, both of the form `include "../XXX.h"` and `include "XXX.h"`. Preferred form is relative to include root (src/ in our case). Solution: Change includes to preferred form. Note: This is also done to ease next commit (prepend 'nvim/ to all project-local includes).
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
#include "api/buffer.h"
|
||||
#include "api/helpers.h"
|
||||
#include "api/defs.h"
|
||||
#include "../vim.h"
|
||||
#include "../buffer.h"
|
||||
#include "vim.h"
|
||||
#include "buffer.h"
|
||||
#include "memline.h"
|
||||
#include "memory.h"
|
||||
#include "misc1.h"
|
||||
@@ -16,7 +16,7 @@
|
||||
#include "mark.h"
|
||||
#include "fileio.h"
|
||||
#include "move.h"
|
||||
#include "../window.h"
|
||||
#include "window.h"
|
||||
#include "undo.h"
|
||||
|
||||
// Find a window that contains "buf" and switch to it.
|
||||
|
Reference in New Issue
Block a user