fix: errors
This commit is contained in:
parent
224bd5911c
commit
14c04fc93b
2
init.lua
2
init.lua
|
@ -546,7 +546,7 @@ require('lazy').setup({
|
||||||
-- This may be unwanted, since they displace some of your code
|
-- This may be unwanted, since they displace some of your code
|
||||||
if client and client.server_capabilities.inlayHintProvider and vim.lsp.inlay_hint then
|
if client and client.server_capabilities.inlayHintProvider and vim.lsp.inlay_hint then
|
||||||
map('<leader>th', function()
|
map('<leader>th', function()
|
||||||
vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled())
|
vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled {})
|
||||||
end, '[T]oggle Inlay [H]ints')
|
end, '[T]oggle Inlay [H]ints')
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
|
|
|
@ -6,7 +6,6 @@ return {
|
||||||
config = function()
|
config = function()
|
||||||
local lint = require 'lint'
|
local lint = require 'lint'
|
||||||
lint.linters_by_ft = {
|
lint.linters_by_ft = {
|
||||||
markdown = { 'markdownlint' },
|
|
||||||
typescript = { 'eslint' },
|
typescript = { 'eslint' },
|
||||||
javascript = { 'eslint' },
|
javascript = { 'eslint' },
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue