summaryrefslogtreecommitdiff
path: root/script/core
AgeCommit message (Collapse)Author
2023-08-03function may not have a name最萌小汐
2023-07-25fix #2214最萌小汐
2023-07-21fix `missing-fields`最萌小汐
2023-07-21fix missing fields最萌小汐
2023-07-21添加翻译最萌小汐
2023-07-21fix最萌小汐
2023-07-20new diagnostic: `missing-fields`最萌小汐
2023-07-20improve completion label of table fields最萌小汐
2023-07-19sort results of completion最萌小汐
2023-07-18Merge pull request #2177 from sewbacca/feature/shortcut-autorequire最萌小汐
[Feature] Add action to autorequire undefined globals
2023-07-17Resolve formattingSewbacca
Resolve member naming
2023-07-17Added testsSewbacca
2023-07-17Extracted undefined global checkSewbacca
2023-07-06signature: narrow by inputed literal最萌小汐
2023-06-29exclude `_`最萌小汐
2023-06-28Adapt incomplete-signature-doc to warn about incomplete, not missing docs (#9)AndreaWalchshoferSCCH
Previously, the diagnostic `incomplete-signature-doc` is ignoring fully undocumented functions - but is already triggered by a simple comment. This turns out to be impractical in a few cases, as it also forces a full documentation of functions that should just be annotated with `---@async` (and is therefore not yet fully compatible with `await-in-sync`) So this PR adapts the diagnostic to only warn about **incomplete** signature docs, so it requires at least one `@param` or `@return` annotation before a warning is given. (Otherwise, it would be a missing signature doc, and there's separate diagnostics about that...)
2023-06-27Added crossfile testcaseSewbacca
Improved eq error message in test/code_action/init.lua Uses core.diagnostics.undefined-global
2023-06-26check nil最萌小汐
2023-06-23Fix tests failingSewbacca
2023-06-23Added concept of action autorequireSewbacca
2023-06-14check nil最萌小汐
2023-06-14fix #2129最萌小汐
2023-06-13completion for quoted fields最萌小汐
fix #2088
2023-06-13bind overloads最萌小汐
fix #2083
2023-06-13more smart completion for `continue`最萌小汐
fix #2042
2023-06-13check nil最萌小汐
2023-05-25command:add reloadFFIMetafesily
2023-05-11Annotation rule for exported local functionsThomas Wetzlmaier
Annotation for the following local function func1 is required. local mod = { } local function func1() end mod.Func1 = func1 return mod;
2023-04-27更新实现CppCXY
2023-04-26complete namestyle providerCppCXY
2023-04-26don't merge comments from `setlocal`最萌小汐
fix #2077
2023-04-25fix first semantic token is dropped最萌小汐
fix #2081
2023-04-25export name and comment in returns最萌小汐
2023-04-24Cleanup PRAndreaWalchshoferSCCH
Revert Changes made from unrelated PR
2023-04-19Warn about missing '---comment', '@return' and '@param' annotations (#3)Thomas Wetzlmaier
All functions that have at least one such annotation should be fully annotated in that respect, because we find that partially annotating something leads to confusion. However, all global functions must always be fully annotated, because they should be avoided in the first place, but if necessary then only with the maximum amount of documentation/support for those who use them! We provide the following keys for the `diagnostics.disable` setting to specifically deactive these checks: _missing-global-doc_: global function definitions which are not fully annotated. _incomplete-signature-doc_: function definitions that have some annotations but are not fully annotated
2023-04-04Add diagnostic to enforce lowercase local element names (#6)AndreaWalchshoferSCCH
- diagnostic `uppercase-local` in group `conventions`, disabled by default - isolated unit tests for diagnostic
2023-03-30Revert "Add diagnostic to enforce lowercase local element names (#2)" (#5)AndreaWalchshoferSCCH
This reverts commit 43794193ef981ffecb477bfce444428ded852aa0.
2023-03-30Add diagnostic to enforce lowercase local element names (#2)AndreaWalchshoferSCCH
2023-03-22Add diagnostic warning about any global (#1)AndreaWalchshoferSCCH
* Add warning for any global variable via diagnostic * Add messages in en-US TODO: add messages in languages other than en-us as well * fallback: enable/disable diagnostics w/ annotation * Add tests for the new diagnostic * Add diagnostic and group to config.md
2023-03-11fix wrong semantic-tokens when skipping empty char最萌小汐
see https://github.com/neovim/neovim/pull/22607
2023-03-10fix offset to finish pos in diff最萌小汐
#1949
2023-03-09check nil最萌小汐
fix #1978
2023-03-08should check type of `self`最萌小汐
fix #1922
2023-03-08don't treat `_ENV` as param最萌小汐
fix #1715
2023-03-06check multilneTokenSupport最萌小汐
fix #1753
2023-03-01snip for `continue` and `ifcall`最萌小汐
2023-02-15should normalize path in filewatch最萌小汐
2023-02-10fix #1889最萌小汐
2023-02-06just check client ready最萌小汐
2023-02-06update API `setConfig`, `getConfig`最萌小汐