mirror of
https://github.com/tomru/nvim.git
synced 2026-03-03 06:27:14 +01:00
fix formatting/linting for BCR
This commit is contained in:
@@ -201,7 +201,8 @@ return {
|
||||
-- ts_ls = {},
|
||||
--
|
||||
|
||||
vtsls = {
|
||||
--vtsls = { },
|
||||
ts_ls = {
|
||||
root_dir = function(bufnr, cb)
|
||||
local fname = vim.api.nvim_buf_get_name(bufnr)
|
||||
|
||||
@@ -222,7 +223,7 @@ return {
|
||||
if root then return cb(root) end
|
||||
end
|
||||
|
||||
local default_markers = { 'tsconfig.json', 'package.json', 'jsconfig.json', '.git' }
|
||||
local default_markers = { 'tsconfig.json', '.git' }
|
||||
local root = vim.fs.root(fname, default_markers)
|
||||
cb(root)
|
||||
end,
|
||||
@@ -253,6 +254,7 @@ return {
|
||||
},
|
||||
},
|
||||
|
||||
eslint = { enable = true },
|
||||
bashls = { enable = true },
|
||||
cssls = { enable = true },
|
||||
html = { enable = true },
|
||||
|
||||
Reference in New Issue
Block a user