diff --git a/init.lua b/init.lua index 3d5d0938..26cc1e1a 100644 --- a/init.lua +++ b/init.lua @@ -852,7 +852,7 @@ require('lazy').setup({ 'nvim-treesitter/nvim-treesitter', build = ':TSUpdate', opts = { - ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'vim', 'vimdoc' }, + ensure_installed = { 'bash', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'vim', 'vimdoc', 'python', 'javascript', 'typescript' }, -- Autoinstall languages that are not installed auto_install = true, highlight = { @@ -940,5 +940,9 @@ vim.opt.shiftwidth = 4 vim.opt.expandtab = true vim.opt.smartindent = true + +vim.api.nvim_set_hl(0, 'Normal', { bg = 'none' }) +vim.api.nvim_set_hl(0, 'NormalFloat', { bg = 'none' }) + -- The line beneath this is called `modeline`. See `:help modeline` -- vim: ts=2 sts=2 sw=2 et diff --git a/lua/kickstart/plugins/neo-tree.lua b/lua/kickstart/plugins/neo-tree.lua index c793b885..fae60fef 100644 --- a/lua/kickstart/plugins/neo-tree.lua +++ b/lua/kickstart/plugins/neo-tree.lua @@ -13,13 +13,27 @@ return { keys = { { '\\', ':Neotree reveal', { desc = 'NeoTree reveal' } }, }, - opts = { - filesystem = { - window = { - mappings = { - ['\\'] = 'close_window', + -- opts = { + -- filesystem = { + -- window = { + -- mappings = { + -- ['\\'] = 'close_window', + -- }, + -- }, + -- }, + -- }, + config = function() + require('neo-tree').setup { + filesystem = { + window = { + mappings = { + ['\\'] = 'close_window', + }, }, }, - }, - }, + } + require('nvim-web-devicons').setup { + default = true, -- globally enable default icons (default to false) + } + end, }