feat: added icons to telescope; setup python black formatter; added

custom lua snippets dir
This commit is contained in:
Joshua Molloy 2025-02-24 10:36:37 +00:00
parent b4f759a145
commit 7dbf622d19
1 changed files with 5 additions and 3 deletions

View File

@ -315,7 +315,7 @@ require('lazy').setup {
-- Useful for getting pretty icons, but requires special font. -- Useful for getting pretty icons, but requires special font.
-- If you already have a Nerd Font, or terminal set up with fallback fonts -- If you already have a Nerd Font, or terminal set up with fallback fonts
-- you can enable this -- you can enable this
-- { 'nvim-tree/nvim-web-devicons' } { 'nvim-tree/nvim-web-devicons' },
}, },
config = function() config = function()
-- Telescope is a fuzzy finder that comes with a lot of different things that -- Telescope is a fuzzy finder that comes with a lot of different things that
@ -614,7 +614,7 @@ require('lazy').setup {
formatters_by_ft = { formatters_by_ft = {
lua = { 'stylua' }, lua = { 'stylua' },
-- Conform can also run multiple formatters sequentially -- Conform can also run multiple formatters sequentially
-- python = { "isort", "black" }, python = { 'black' },
-- --
-- You can use a sub-list to tell conform to run *until* a formatter -- You can use a sub-list to tell conform to run *until* a formatter
-- is found. -- is found.
@ -658,7 +658,9 @@ require('lazy').setup {
-- See `:help cmp` -- See `:help cmp`
local cmp = require 'cmp' local cmp = require 'cmp'
local luasnip = require 'luasnip' local luasnip = require 'luasnip'
luasnip.config.setup {} luasnip.config.setup {
require('luasnip.loaders.from_lua').load { paths = './lua/custom/snippets/' },
}
cmp.setup { cmp.setup {
snippet = { snippet = {