diff --git a/init.lua b/init.lua index 220d3045..dc26a10c 100644 --- a/init.lua +++ b/init.lua @@ -91,7 +91,7 @@ vim.g.mapleader = ' ' vim.g.maplocalleader = ' ' -- Set to true if you have a Nerd Font installed and selected in the terminal -vim.g.have_nerd_font = false +vim.g.have_nerd_font = true -- [[ Setting options ]] -- See `:help vim.opt` @@ -569,7 +569,7 @@ require('lazy').setup({ -- - settings (table): Override the default settings passed when initializing the server. -- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/ local servers = { - -- clangd = {}, + clangd = {}, -- gopls = {}, -- pyright = {}, -- rust_analyzer = {}, @@ -657,6 +657,7 @@ require('lazy').setup({ end, formatters_by_ft = { lua = { 'stylua' }, + c = { 'clang_format' }, -- Conform can also run multiple formatters sequentially -- python = { "isort", "black" }, -- @@ -881,9 +882,9 @@ require('lazy').setup({ -- Uncomment any of the lines below to enable them (you will need to restart nvim). -- -- require 'kickstart.plugins.debug', - -- require 'kickstart.plugins.indent_line', - -- require 'kickstart.plugins.lint', - -- require 'kickstart.plugins.autopairs', + require 'kickstart.plugins.indent_line', + require 'kickstart.plugins.lint', + require 'kickstart.plugins.autopairs', -- require 'kickstart.plugins.neo-tree', -- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps @@ -892,7 +893,8 @@ require('lazy').setup({ -- -- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going. -- For additional information, see `:help lazy.nvim-lazy.nvim-structuring-your-plugins` - -- { import = 'custom.plugins' }, + { import = 'custom.plugins' }, + { import = 'plugins' }, }, { ui = { -- If you are using a Nerd Font: set icons to an empty table which will use the diff --git a/lua/custom/plugins/activate.lua b/lua/custom/plugins/activate.lua new file mode 100644 index 00000000..8123062d --- /dev/null +++ b/lua/custom/plugins/activate.lua @@ -0,0 +1,13 @@ +return { + 'roobert/activate.nvim', + keys = { + { + 'P', + 'lua require("activate").list_plugins()', + desc = 'Plugins', + }, + }, + dependencies = { + { 'nvim-telescope/telescope.nvim', branch = '0.1.x', dependencies = { 'nvim-lua/plenary.nvim' } }, + }, +} diff --git a/lua/plugins/transparent_nvim.lua b/lua/plugins/transparent_nvim.lua new file mode 100644 index 00000000..01760d68 --- /dev/null +++ b/lua/plugins/transparent_nvim.lua @@ -0,0 +1,13 @@ +-- No example configuration was found for this plugin. +-- +-- For detailed information on configuring this plugin, please refer to its +-- official documentation: +-- +-- https://github.com/xiyaowong/transparent.nvim +-- +-- If you wish to use this plugin, you can optionally modify and then uncomment +-- the configuration below. + +return { + -- 'xiyaowong/transparent.nvim', +}