clean up
This commit is contained in:
parent
efdd17e22b
commit
7779295111
1 changed files with 0 additions and 8 deletions
|
@ -1,15 +1,7 @@
|
||||||
local utils = require('cosmic.utils')
|
local utils = require('cosmic.utils')
|
||||||
local lsp_utils = require('cosmic.utils.lsp')
|
local lsp_utils = require('cosmic.utils.lsp')
|
||||||
local user_config = require('cosmic.core.user')
|
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
local function toggle_inlay_hints(bufnr, enabled)
|
|
||||||
return function()
|
|
||||||
enabled = not enabled
|
|
||||||
vim.lsp.inlay_hint(bufnr, enabled)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
-- Mappings.
|
-- Mappings.
|
||||||
function M.init(client, bufnr)
|
function M.init(client, bufnr)
|
||||||
local buf_map = utils.create_buf_map(bufnr, {
|
local buf_map = utils.create_buf_map(bufnr, {
|
||||||
|
|
Loading…
Add table
Reference in a new issue