diff --git a/init.lua b/init.lua index 858ccf2a..7000c973 100644 --- a/init.lua +++ b/init.lua @@ -278,8 +278,6 @@ require('lazy').setup({ require 'kickstart.plugins.telescope', require 'kickstart.plugins.lsp', - - require 'kickstart.plugins.autopairs', { -- Autoformat 'stevearc/conform.nvim', lazy = false, @@ -336,9 +334,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.indent_line', -- require 'kickstart.plugins.lint', - -- require 'kickstart.plugins.autopairs', + require 'kickstart.plugins.autopairs', require 'kickstart.plugins.neo-tree', -- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps @@ -347,7 +345,7 @@ 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' }, }, { ui = { -- If you are using a Nerd Font: set icons to an empty table which will use the diff --git a/lua/custom/plugins/toggleterm.lua b/lua/custom/plugins/toggleterm.lua new file mode 100644 index 00000000..a7681921 --- /dev/null +++ b/lua/custom/plugins/toggleterm.lua @@ -0,0 +1,11 @@ +return { + 'akinsho/toggleterm.nvim', + version = '*', + opts = {}, + config = function(_, opts) + require('toggleterm').setup { + open_mapping = [[]], + direction = 'float', + } + end, +} diff --git a/lua/kickstart/plugins/lsp.lua b/lua/kickstart/plugins/lsp.lua index 570a7b4c..96ae0e1d 100644 --- a/lua/kickstart/plugins/lsp.lua +++ b/lua/kickstart/plugins/lsp.lua @@ -238,7 +238,7 @@ return { -- plugins = { -- pycodestyle = { -- ignore = {}, - -- maxLineLength = 120, + -- maxLineLength = 120, -- }, -- }, -- } @@ -259,6 +259,7 @@ return { -- But for many setups, the LSP (`tsserver`) will work just fine -- tsserver = {}, -- + nixd = {}, ['nil_ls'] = { alias = 'nil', },