Added status line and additional code cleanup

This commit is contained in:
Luke Else 2023-05-18 13:19:38 +01:00
parent 3252348954
commit ee9d362477
3 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,3 @@
local inlay = require("inlay-hints").setup({
local inlay = require('inlay-hints').setup({
only_current_line = true,
})

View File

@ -0,0 +1 @@
require('lualine').setup()

View File

@ -20,6 +20,12 @@ return require('packer').startup(function(use)
end
}
-- Status Bar
use {
'nvim-lualine/lualine.nvim',
requires = { 'nvim-tree/nvim-web-devicons', opt = true }
}
-- Ease of use Plugins
use('nvim-treesitter/nvim-treesitter', {run = ':TSUpdate'})
use('theprimeagen/harpoon')
@ -27,13 +33,13 @@ return require('packer').startup(function(use)
use('tpope/vim-fugitive')
use("numToStr/FTerm.nvim")
use('simrat39/inlay-hints.nvim')
-- Bracket Autocompletion
use {
'windwp/nvim-autopairs',
config = function() require('nvim-autopairs').setup {} end
}
-- LSP
use {
'VonHeikemen/lsp-zero.nvim',
@ -43,7 +49,7 @@ return require('packer').startup(function(use)
{'neovim/nvim-lspconfig'},
{'williamboman/mason.nvim'},
{'williamboman/mason-lspconfig.nvim'},
-- Autocompletion
{'hrsh7th/nvim-cmp'},
{'hrsh7th/cmp-buffer'},
@ -51,13 +57,13 @@ return require('packer').startup(function(use)
{'saadparwaiz1/cmp_luasnip'},
{'hrsh7th/cmp-nvim-lsp'},
{'hrsh7th/cmp-nvim-lua'},
-- Snippets
{'L3MON4D3/LuaSnip'},
{'rafamadriz/friendly-snippets'},
}
}
-- Debugger
use 'nvim-lua/plenary.nvim'
use { 'rcarriga/nvim-dap-ui', requires = {'mfussenegger/nvim-dap'} }