mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-06-24 14:18:36 +02:00
add vim-fugitive
This commit is contained in:
parent
5636d0e913
commit
044d74b814
10 changed files with 392 additions and 16 deletions
|
@ -7,6 +7,8 @@ return {
|
|||
local lint = require 'lint'
|
||||
lint.linters_by_ft = {
|
||||
markdown = { 'markdownlint' },
|
||||
javascript = { 'eslint_d' },
|
||||
typescript = { 'eslint_d' },
|
||||
}
|
||||
|
||||
-- To allow other plugins to add linters to require('lint').linters_by_ft,
|
||||
|
@ -41,6 +43,9 @@ return {
|
|||
-- lint.linters_by_ft['terraform'] = nil
|
||||
-- lint.linters_by_ft['text'] = nil
|
||||
|
||||
-- Enable lint virtual text, which is false by default
|
||||
vim.diagnostic.config { virtual_text = true }
|
||||
|
||||
-- Create autocommand which carries out the actual linting
|
||||
-- on the specified events.
|
||||
local lint_augroup = vim.api.nvim_create_augroup('lint', { clear = true })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue