Skip to content

Commit 7dbf622

Browse files
author
Joshua Molloy
committed
feat: added icons to telescope; setup python black formatter; added
custom lua snippets dir
1 parent b4f759a commit 7dbf622

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

init.lua

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ require('lazy').setup {
315315
-- Useful for getting pretty icons, but requires special font.
316316
-- If you already have a Nerd Font, or terminal set up with fallback fonts
317317
-- you can enable this
318-
-- { 'nvim-tree/nvim-web-devicons' }
318+
{ 'nvim-tree/nvim-web-devicons' },
319319
},
320320
config = function()
321321
-- Telescope is a fuzzy finder that comes with a lot of different things that
@@ -614,7 +614,7 @@ require('lazy').setup {
614614
formatters_by_ft = {
615615
lua = { 'stylua' },
616616
-- Conform can also run multiple formatters sequentially
617-
-- python = { "isort", "black" },
617+
python = { 'black' },
618618
--
619619
-- You can use a sub-list to tell conform to run *until* a formatter
620620
-- is found.
@@ -658,7 +658,9 @@ require('lazy').setup {
658658
-- See `:help cmp`
659659
local cmp = require 'cmp'
660660
local luasnip = require 'luasnip'
661-
luasnip.config.setup {}
661+
luasnip.config.setup {
662+
require('luasnip.loaders.from_lua').load { paths = './lua/custom/snippets/' },
663+
}
662664

663665
cmp.setup {
664666
snippet = {

0 commit comments

Comments
 (0)