From 4e58c357826bb7a0926e020e063b342f51c76961 Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 1 Sep 2022 00:51:15 +0200 Subject: [PATCH] nvim: remove unneeded requires --- .config/nvim/lua/my/coding.lua | 2 -- .config/nvim/lua/my/completion.lua | 2 -- .config/nvim/lua/my/filetypes.lua | 2 -- .config/nvim/lua/my/lsp.lua | 2 -- .config/nvim/lua/my/net.lua | 2 -- .config/nvim/lua/my/settings.lua | 2 -- .config/nvim/lua/my/tools.lua | 2 -- 7 files changed, 14 deletions(-) diff --git a/.config/nvim/lua/my/coding.lua b/.config/nvim/lua/my/coding.lua index 4356fc6..2e74c43 100644 --- a/.config/nvim/lua/my/coding.lua +++ b/.config/nvim/lua/my/coding.lua @@ -1,5 +1,3 @@ -require('my/plugins') - local map = require('my.functions').map require('Comment').setup({ diff --git a/.config/nvim/lua/my/completion.lua b/.config/nvim/lua/my/completion.lua index 392c05a..d5c0868 100644 --- a/.config/nvim/lua/my/completion.lua +++ b/.config/nvim/lua/my/completion.lua @@ -1,5 +1,3 @@ -require('my/plugins') - local cmp = require('cmp') local luasnip = require('luasnip') diff --git a/.config/nvim/lua/my/filetypes.lua b/.config/nvim/lua/my/filetypes.lua index 4b673f7..b4fc70d 100644 --- a/.config/nvim/lua/my/filetypes.lua +++ b/.config/nvim/lua/my/filetypes.lua @@ -1,5 +1,3 @@ -require('my/plugins') - require 'nvim-treesitter.configs'.setup { ensure_installed = 'all', ignore_install = { 'comment' }, diff --git a/.config/nvim/lua/my/lsp.lua b/.config/nvim/lua/my/lsp.lua index b5895be..44cd9f8 100644 --- a/.config/nvim/lua/my/lsp.lua +++ b/.config/nvim/lua/my/lsp.lua @@ -1,5 +1,3 @@ -require('my/plugins') - local map = require('my.functions').map -- only do this after the language server attaches to the current buffer diff --git a/.config/nvim/lua/my/net.lua b/.config/nvim/lua/my/net.lua index a350205..961a6df 100644 --- a/.config/nvim/lua/my/net.lua +++ b/.config/nvim/lua/my/net.lua @@ -1,5 +1,3 @@ -require('my/plugins') - local sockdir = (vim.env['XDG_RUNTIME_DIR'] or vim.env['XDG_STATE_HOME'] or vim.env['HOME'] .. '/.local/state') vim.fn.mkdir(sockdir, 'p') diff --git a/.config/nvim/lua/my/settings.lua b/.config/nvim/lua/my/settings.lua index abdc6d0..59c6d74 100644 --- a/.config/nvim/lua/my/settings.lua +++ b/.config/nvim/lua/my/settings.lua @@ -1,5 +1,3 @@ -require('my/plugins') - ---@format disable-next local options = { number = true, -- line numbers diff --git a/.config/nvim/lua/my/tools.lua b/.config/nvim/lua/my/tools.lua index db78f61..f230cd8 100644 --- a/.config/nvim/lua/my/tools.lua +++ b/.config/nvim/lua/my/tools.lua @@ -1,5 +1,3 @@ -require('my/plugins') - require('which-key').setup({}) local map = require('my.functions').map