Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using lowercaseKeywords doesn't seem to work for reserved words? #156

Open
jamietanna opened this issue May 16, 2024 · 0 comments
Open

Using lowercaseKeywords doesn't seem to work for reserved words? #156

jamietanna opened this issue May 16, 2024 · 0 comments

Comments

@jamietanna
Copy link

Describe the bug

When using the language server with lowercaseKeywords: true, I still see annotations for "reserved words" like select.

To Reproduce

With the following query:

select
  renovate.repo,
  owner
from
  renovate
left join owners
  on renovate.platform = owners.platform
  and renovate.organisation = owners.organisation
  and renovate.repo = owners.repo

And a configuration file:

# ~/.config/sqls/config.yml
lowercaseKeywords: true

I then see:

2024-05-16-155527_558x203_scrot

Expected behavior

I'd have expected that the select and from would be treated as being allowed as lowercase.

Versions (please complete the following information):

Additional context

Using Neovim:

NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1713773202

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info

And https://github.com/williamboman/mason.nvim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant