Compare commits
3 commits
76ce2518e1
...
28d4787d08
Author | SHA1 | Date | |
---|---|---|---|
![]() |
28d4787d08 | ||
![]() |
972ba828f2 | ||
![]() |
9b26df0189 |
2 changed files with 11 additions and 0 deletions
|
@ -28,6 +28,16 @@ return { -- Collection of various small independent plugins/modules
|
|||
-- Simple startup screen
|
||||
require('mini.starter').setup()
|
||||
|
||||
-- Highlight word under cursor.
|
||||
-- Useful for motions similar to 'diw' and 'ciw'
|
||||
-- as well as # and * searches
|
||||
require('mini.cursorword').setup()
|
||||
|
||||
-- Trailspace: highlight trailing whitespace
|
||||
-- Trim all trailing whitespace with MiniTrailspace.trim().
|
||||
-- Trim all trailing empty lines with MiniTrailspace.trim_last_lines().
|
||||
require('mini.trailspace').setup()
|
||||
|
||||
-- Simple and easy statusline.
|
||||
-- You could remove this setup call if you don't like it,
|
||||
-- and try some other statusline plugin
|
||||
|
|
|
@ -138,6 +138,7 @@ return { -- LSP Configuration & Plugins
|
|||
--
|
||||
-- This may be unwanted, since they displace some of your code
|
||||
if client and client.server_capabilities.inlayHintProvider and vim.lsp.inlay_hint then
|
||||
vim.lsp.inlay_hint.enable(true)
|
||||
map('<leader>th', function()
|
||||
vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled())
|
||||
end, '[T]oggle Inlay [H]ints')
|
||||
|
|
Loading…
Add table
Reference in a new issue