Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | refactor(api)!: rename Dictionary => Dict | Justin M. Keyes | 2024-09-23 |
| | | | | | | | | | | | | | | In the api_info() output: :new|put =map(filter(api_info().functions, '!has_key(v:val,''deprecated_since'')'), 'v:val') ... {'return_type': 'ArrayOf(Integer, 2)', 'name': 'nvim_win_get_position', 'method': v:true, 'parameters': [['Window', 'window']], 'since': 1} The `ArrayOf(Integer, 2)` return type didn't break clients when we added it, which is evidence that clients don't use the `return_type` field, thus renaming Dictionary => Dict in api_info() is not (in practice) a breaking change. | ||
* | refactor(options): generate BV_ and WV_ constants (#26705) | zeertzjq | 2023-12-22 |
| | |||
* | refactor(options): use hashy for finding options (#26573) | Famiu Haque | 2023-12-17 |
Problem: `findoption()` searches through the options[] table linearly for option names, even though hashy can be used to generate a compile-time hash table for it. Solution: Use hashy to generate a compile time hash table for finding options. This also allows handling option aliases, so we don't need separate options[] table entries for things like 'viminfo'. |