https://github.com/JMarkin/cmp-diag-codes
nvim-cmp plugin for diagnostic codes
https://github.com/JMarkin/cmp-diag-codes
nvim-cmp
Last synced: 6 months ago
JSON representation
nvim-cmp plugin for diagnostic codes
- Host: GitHub
- URL: https://github.com/JMarkin/cmp-diag-codes
- Owner: JMarkin
- License: mit
- Created: 2023-04-26T20:04:28.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-05-22T16:32:24.000Z (over 2 years ago)
- Last Synced: 2024-08-06T18:24:37.904Z (over 1 year ago)
- Topics: nvim-cmp
- Language: Lua
- Homepage:
- Size: 4.88 KB
- Stars: 12
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cmp-diag-codes
Simple completion for diagnostic codes, useful for disable some codes.
# Usage
```lua
require("cmp").setup({
-- other settings
sources = {
{
name = "diag-codes",
-- default completion available only in comment context
-- use false if you want to get in other context
option = { in_comment = true }
},
},
})