diff --git a/lua/plugins/colorscheme.lua b/lua/plugins/colorscheme.lua index 32b5341..07de5af 100644 --- a/lua/plugins/colorscheme.lua +++ b/lua/plugins/colorscheme.lua @@ -3,8 +3,7 @@ return { 'craftzdog/solarized-osaka.nvim', lazy = false, priority = 1000, - config = function(_, opts) - require('solarized-osaka').setup(opts) + config = function() vim.cmd('colorscheme solarized-osaka') vim.cmd.highlight('default link IndentLine Comment') end, diff --git a/lua/plugins/none-ls.lua b/lua/plugins/none-ls.lua index 47756be..3ba11a7 100644 --- a/lua/plugins/none-ls.lua +++ b/lua/plugins/none-ls.lua @@ -5,6 +5,9 @@ return { local null_ls = require('null-ls') null_ls.setup({ sources = { + null_ls.builtins.formatting.dprint.with({ + filetypes = { 'json', 'jsonc', 'markdown', 'python', 'toml' }, + }), null_ls.builtins.formatting.prettier, null_ls.builtins.formatting.stylua, null_ls.builtins.formatting.rustfmt.with({