Skip to content
This repository was archived by the owner on Jul 7, 2022. It is now read-only.
This repository was archived by the owner on Jul 7, 2022. It is now read-only.

Can't get extension to work #20

@marcoths

Description

@marcoths

Neovim version NVIM v0.5.0-dev+950-g5ce328df4

Loaded the plugin in ~/.local/share/nvim/site/pack/*/start/lsp_extensions.nvim

This is the folder structure

.
├── examples
│   ├── dart
│   │   ├── closing_labels.lua
│   │   └── outline.lua
│   └── inlay_hints_inline.lua
├── LICENSE
├── lua
│   └── lsp_extensions
│       ├── dart
│       │   ├── closing_labels.lua
│       │   └── outline.lua
│       ├── init.lua
│       ├── inlay_hints.lua
│       └── telescope_references.lua
└── README.md

and in my init.nvim looks like this:

autocmd CursorMoved,InsertLeave,BufEnter,BufWinEnter,TabEnter,BufWritePost *.rs
\ lua require'lsp_extensions'.inlay_hints{ prefix = '', highlight = "Comment" }

But the type hints are not showing for Rust files - I have setup Rust analyzer as well, the build-in LSP features are working properly. Any idea on what else to look?

Many thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions