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

highlight not working by default #30

Open
glyh opened this issue Sep 14, 2023 · 5 comments
Open

highlight not working by default #30

glyh opened this issue Sep 14, 2023 · 5 comments

Comments

@glyh
Copy link

glyh commented Sep 14, 2023

Here's my config with lazy:

  { 'ShinKage/idris2-nvim',
    dependencies = {'neovim/nvim-lspconfig', 'MunifTanjim/nui.nvim'},
    -- ft = 'idr',
    lazy = false,
    config = function()
      require('idris2').setup({})
      vim.cmd [[highlight link LspSemantic_type Include]]
    end
  },

image

@ichxorya
Copy link

Have you fixed it?

@glyh
Copy link
Author

glyh commented Oct 13, 2023

No

@mainrs
Copy link

mainrs commented Nov 22, 2023

Does autocomplete or any of the features work for you? The plugin does nothing in my case. Neither syntax highlighting nor does it add any autocompletion features.

Both idris2 and idris2-lsp are on my path. And I have a ipkg file.

@glyh
Copy link
Author

glyh commented Nov 23, 2023

Nothing worked when I test it.

@Russoul
Copy link
Member

Russoul commented Nov 30, 2024

I've started to experience the same issue via the lazy installer. I think what's happening here is for some reason file type detection doesn't work. As soon as I manually set the filetype -- everything works as expected. I'll try to figure out why this happens and compile a fix.

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

4 participants