File tree 2 files changed +16
-1
lines changed
2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change
1
+ # EditorConfig is awesome: https://EditorConfig.org
2
+
3
+ # top-most EditorConfig file
4
+ root = true
5
+
6
+ # Unix-style newlines with a newline ending every file
7
+ [* ]
8
+ end_of_line = lf
9
+ insert_final_newline = true
10
+ indent_style = space
11
+ indent_size = 2
12
+ charset = utf-8
Original file line number Diff line number Diff line change @@ -284,14 +284,17 @@ function M.setup(opts)
284
284
285
285
M .me = debug.getinfo (1 , " S" ).source :sub (2 )
286
286
M .me = Util .norm (vim .fn .fnamemodify (M .me , " :p:h:h:h:h" ))
287
+ local lib = vim .fn .fnamemodify (vim .v .progpath , " :p:h:h" ) .. " /lib"
288
+ lib = vim .uv .fs_stat (lib .. " 64" ) and (lib .. " 64" ) or lib
289
+ lib = lib .. " /nvim"
287
290
if M .options .performance .rtp .reset then
288
291
--- @type vim.Option
289
292
vim .opt .rtp = {
290
293
vim .fn .stdpath (" config" ),
291
294
vim .fn .stdpath (" data" ) .. " /site" ,
292
295
M .me ,
293
296
vim .env .VIMRUNTIME ,
294
- vim . fn . fnamemodify ( vim . v . progpath , " :p:h:h " ) .. " / lib/nvim " ,
297
+ lib ,
295
298
vim .fn .stdpath (" config" ) .. " /after" ,
296
299
}
297
300
end
You can’t perform that action at this time.
0 commit comments