diff --git a/init.lua b/init.lua index 8b4e2e10..9d35a654 100644 --- a/init.lua +++ b/init.lua @@ -38,12 +38,15 @@ P.S. You can delete this when you're done too. It's your config now :) -- Set as the leader key -- See `:help mapleader` -- NOTE: Must happen before plugins are required (otherwise wrong leader will be used) +-- + vim.g.mapleader = ' ' vim.g.maplocalleader = ' ' -- Install package manager -- https://github.com/folke/lazy.nvim -- `:help lazy.nvim.txt` for more info +-- local lazypath = vim.fn.stdpath 'data' .. '/lazy/lazy.nvim' if not vim.loop.fs_stat(lazypath) then vim.fn.system { @@ -80,7 +83,9 @@ require('lazy').setup({ -- NOTE: This is where your plugins related to LSP can be installed. -- The configuration is done below. Search for lspconfig to find it below. { -- LSP Configuration & Plugins + 'neovim/nvim-lspconfig', + dependencies = { -- Automatically install LSPs to stdpath for neovim 'williamboman/mason.nvim', @@ -182,6 +187,7 @@ require('lazy').setup({ { import = 'custom.plugins' }, }, {}) + -- [[ Setting options ]] -- See `:help vim.o` @@ -552,6 +558,7 @@ mason_lspconfig.setup_handlers { end, } + -- nvim-cmp setup local cmp = require 'cmp' local luasnip = require 'luasnip' @@ -594,9 +601,10 @@ cmp.setup { sources = { { name = 'nvim_lsp' }, { name = 'luasnip' }, + { name = 'orgmode' }, }, } - +-- -- The line beneath this is called `modeline`. See `:help modeline` -- vim: ts=2 sts=2 sw=2 et -- vim: ts=2 sts=2 sw=2 et diff --git a/lua/custom/plugins/lualine.lua b/lua/custom/plugins/lualine.lua index f138cfff..3d4988c0 100644 --- a/lua/custom/plugins/lualine.lua +++ b/lua/custom/plugins/lualine.lua @@ -174,7 +174,7 @@ ins_left { return msg end, icon = ' LSP:', - color = { fg = '#ffffff', gui = 'bold' }, + color = { fg = '#e2711d', gui = 'bold' }, } -- Add components to right sections