From 723a3213d4c6ff287d33131af0ed1152d09d70b4 Mon Sep 17 00:00:00 2001 From: gregladden Date: Thu, 18 Jan 2024 22:58:38 -0600 Subject: [PATCH] adding additional plugins --- init.lua | 21 +++++++-------------- lua/plugins/theme.lua | 8 ++++++++ 2 files changed, 15 insertions(+), 14 deletions(-) create mode 100644 lua/plugins/theme.lua diff --git a/init.lua b/init.lua index 95579c86..d7f7e314 100644 --- a/init.lua +++ b/init.lua @@ -88,7 +88,7 @@ require('lazy').setup({ -- Useful status updates for LSP -- NOTE: `opts = {}` is the same as calling `require('fidget').setup({})` - { 'j-hui/fidget.nvim', opts = {} }, + { 'j-hui/fidget.nvim', opts = {} }, -- Additional lua configuration, makes nvim stuff amazing! 'folke/neodev.nvim', @@ -113,7 +113,7 @@ require('lazy').setup({ }, -- Useful plugin to show you pending keybinds. - { 'folke/which-key.nvim', opts = {} }, + { 'folke/which-key.nvim', opts = {} }, { -- Adds git related signs to the gutter, as well as utilities for managing changes 'lewis6991/gitsigns.nvim', @@ -188,16 +188,6 @@ require('lazy').setup({ end, }, }, - - { - -- Theme inspired by Atom - 'navarasu/onedark.nvim', - priority = 1000, - config = function() - vim.cmd.colorscheme 'onedark' - end, - }, - { -- Set lualine as statusline 'nvim-lualine/lualine.nvim', @@ -276,9 +266,12 @@ require('lazy').setup({ -- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going. -- -- For additional information see: https://github.com/folke/lazy.nvim#-structuring-your-plugins - { import = 'custom.plugins' }, + { import = 'custom.plugins' }, + { import = 'plugins' }, }, {}) +-- NeoTree Settings +vim.keymap.set('n', '', ':Neotree filesystem reveal left') -- [[ Setting options ]] -- See `:help vim.o` -- NOTE: You can change these options as you wish! @@ -583,7 +576,7 @@ local servers = { pyright = {}, -- rust_analyzer = {}, tsserver = {}, - html = { filetypes = { 'html', 'twig', 'hbs'} }, + html = { filetypes = { 'html', 'twig', 'hbs' } }, lua_ls = { Lua = { diff --git a/lua/plugins/theme.lua b/lua/plugins/theme.lua new file mode 100644 index 00000000..7a5aa6d4 --- /dev/null +++ b/lua/plugins/theme.lua @@ -0,0 +1,8 @@ +return { + -- Theme inspired by Atom + 'navarasu/onedark.nvim', + priority = 1000, + config = function() + vim.cmd.colorscheme 'onedark' + end, +}