neovim/config
Dundar Goc a732c253b7 refactor: change type of linenr_T from long to int32_t
The size of long varies depending on architecture, in contrast to the
MAXLNUM constant which sets the maximum allowable number of lines to
2^32-1. This discrepancy may lead to hard to detect bugs, for example
https://github.com/neovim/neovim/issues/18454. Setting linenr_T to a
fix maximum size of 2^32-1 will prevent this type of errors in the
future.

Also change the variables `amount` and `amount_after` to be linenr_T
since they're referring to "the line number difference" between two
texts.
2022-06-10 16:16:41 +02:00
..
CMakeLists.txt refactor: change type of linenr_T from long to int32_t 2022-06-10 16:16:41 +02:00
config.h.in refactor: change type of linenr_T from long to int32_t 2022-06-10 16:16:41 +02:00
pathdef.c.in env: try find library dir (like /usr[/local]/lib/nvim) and add it to &rtp 2020-02-07 09:22:55 +01:00
versiondef.h.in Fix/revisit git-describe enhancement (#11124) 2019-10-02 03:45:59 +02:00