diff --git a/init.lua b/init.lua index b17543b..2f443b7 100644 --- a/init.lua +++ b/init.lua @@ -103,6 +103,8 @@ local function packer_startup(use) use 'nvim-tree/nvim-tree.lua' -- File explorer. use 'nvim-tree/nvim-web-devicons' -- Provides Pretty icons to look at. Makes the plugin above and below pretty. + use 'nvim-lualine/lualine.nvim' -- Provides file information on status bar on the bottom of the wihdow. + use 'nvim-treesitter/nvim-treesitter' -- Provides syntax highlighting for many lanugages. use 'hrsh7th/nvim-cmp' -- Autocompletion framework @@ -154,6 +156,8 @@ local function packer_startup(use) require'nvim-tree'.setup() vim.keymap.set('n', keymap.navigation_toggle_file_explorer, 'NvimTreeFindFileToggle', {silent = true}) + require'lualine'.setup{} + require('nvim-treesitter.configs').setup { ensure_installed = 'all', sync_install = false, @@ -221,7 +225,7 @@ local function packer_startup(use) require('mason-lspconfig').setup{ ensure_installed = { 'clangd', 'golangci_lint_ls', 'kotlin_language_server', - 'ltex', 'lua_ls', 'marksman', 'pyright', 'zls', 'rust_analyzer' + 'ltex', 'lua_ls', 'marksman', 'pyright', 'rust_analyzer' } } local capabilities = require('cmp_nvim_lsp').default_capabilities()