Merge pull request #152 from rohanghige/22-autocommands

[FIX] Tree-sitter ensure_installed error message
22-autocommands
Christian Chiarulli 3 years ago committed by GitHub
commit 24e1856862
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -119,9 +119,11 @@ cmp.setup {
behavior = cmp.ConfirmBehavior.Replace, behavior = cmp.ConfirmBehavior.Replace,
select = false, select = false,
}, },
window = {
documentation = { documentation = {
border = { "", "", "", "", "", "", "", "" }, border = { "", "", "", "", "", "", "", "" },
}, },
},
experimental = { experimental = {
ghost_text = false, ghost_text = false,
native_menu = false, native_menu = false,

@ -169,6 +169,9 @@ local schemas = {
} }
local function extend(tab1, tab2) local function extend(tab1, tab2)
if tab2 == nil then
return tab2
end
for _, value in ipairs(tab2) do for _, value in ipairs(tab2) do
table.insert(tab1, value) table.insert(tab1, value)
end end

@ -42,7 +42,6 @@ nvim_tree.setup {
"dashboard", "dashboard",
"alpha", "alpha",
}, },
auto_close = true,
open_on_tab = false, open_on_tab = false,
hijack_cursor = false, hijack_cursor = false,
update_cwd = true, update_cwd = true,
@ -98,15 +97,12 @@ nvim_tree.setup {
cmd = "trash", cmd = "trash",
require_confirm = true, require_confirm = true,
}, },
quit_on_open = 0, actions = {
git_hl = 1, open_file = {
disable_window_picker = 0, quit_on_open = false,
root_folder_modifier = ":t", window_picker = {
show_icons = { enable = false,
git = 1, },
folders = 1, },
files = 1,
folder_arrows = 1,
tree_width = 30,
}, },
} }

@ -4,7 +4,7 @@ if not status_ok then
end end
configs.setup { configs.setup {
ensure_installed = "maintained", -- one of "all", "maintained" (parsers with maintainers), or a list of languages ensure_installed = "all", -- "all" (parsers with maintainers), or a list of languages
sync_install = false, -- install languages synchronously (only applied to `ensure_installed`) sync_install = false, -- install languages synchronously (only applied to `ensure_installed`)
ignore_install = { "" }, -- List of parsers to ignore installing ignore_install = { "" }, -- List of parsers to ignore installing
autopairs = { autopairs = {

@ -143,7 +143,7 @@ local mappings = {
i = { "<cmd>LspInfo<cr>", "Info" }, i = { "<cmd>LspInfo<cr>", "Info" },
I = { "<cmd>LspInstallInfo<cr>", "Installer Info" }, I = { "<cmd>LspInstallInfo<cr>", "Installer Info" },
j = { j = {
"<cmd>lua vim.lsp.diagnostic.goto_next()<CR>", "<cmd>lua vim.diagnostic.goto_next()<CR>",
"Next Diagnostic", "Next Diagnostic",
}, },
k = { k = {
@ -151,7 +151,7 @@ local mappings = {
"Prev Diagnostic", "Prev Diagnostic",
}, },
l = { "<cmd>lua vim.lsp.codelens.run()<cr>", "CodeLens Action" }, l = { "<cmd>lua vim.lsp.codelens.run()<cr>", "CodeLens Action" },
q = { "<cmd>lua vim.lsp.diagnostic.set_loclist()<cr>", "Quickfix" }, q = { "<cmd>lua vim.diagnostic.setloclist()<cr>", "Quickfix" },
r = { "<cmd>lua vim.lsp.buf.rename()<cr>", "Rename" }, r = { "<cmd>lua vim.lsp.buf.rename()<cr>", "Rename" },
s = { "<cmd>Telescope lsp_document_symbols<cr>", "Document Symbols" }, s = { "<cmd>Telescope lsp_document_symbols<cr>", "Document Symbols" },
S = { S = {

Loading…
Cancel
Save