diff options
author | AndreaWalchshoferSCCH <122894794+AndreaWalchshoferSCCH@users.noreply.github.com> | 2023-04-04 11:02:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-04 11:02:59 +0200 |
commit | 27cfa2e23648b015a94fab6e0938ec42a5a040e5 (patch) | |
tree | e247b1aac92882c72e5c694eb8090f883d43c76c /locale/pt-br/setting.lua | |
parent | f85e039b9e9369fc2936e899c81056837f04403e (diff) | |
download | lua-language-server-27cfa2e23648b015a94fab6e0938ec42a5a040e5.zip |
Add diagnostic to enforce lowercase local element names (#6)
- diagnostic `uppercase-local` in group `conventions`, disabled by
default
- isolated unit tests for diagnostic
Diffstat (limited to 'locale/pt-br/setting.lua')
-rw-r--r-- | locale/pt-br/setting.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/locale/pt-br/setting.lua b/locale/pt-br/setting.lua index 95f26b76..ec94f575 100644 --- a/locale/pt-br/setting.lua +++ b/locale/pt-br/setting.lua @@ -415,8 +415,10 @@ config.diagnostics['unknown-operator'] = -- TODO: need translate! 'Enable diagnostics for unknown operators.' config.diagnostics['unreachable-code'] = -- TODO: need translate! 'Enable diagnostics for unreachable code.' -config.diagnostics['global-element'] = -- TODO: need translate! -'Enable diagnostics to warn about global elements.' +config.diagnostics['global-element'] = -- TODO: need translate! +'Enable diagnostics to warn about global variables.' +config.diagnostics['uppercase-local'] = -- TODO: need translate! +'Enable diagnostics to warn about local element names starting with an uppercase letter.' config.typeFormat.config = -- TODO: need translate! 'Configures the formatting behavior while typing Lua code.' config.typeFormat.config.auto_complete_end = -- TODO: need translate! |