Skip to content
This repository was archived by the owner on Apr 16, 2024. It is now read-only.

Commit 5cdc229

Browse files
committed
chore: Cleanup luacheck issues
1 parent 3a65ea3 commit 5cdc229

File tree

4 files changed

+1
-13
lines changed

4 files changed

+1
-13
lines changed

lua/doom/core/modules.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ local core_modules = {
2929
}
3030
modules.enabled_modules = vim.tbl_deep_extend("keep", core_modules, dofile(modules.source))
3131

32-
local system = require("doom.core.system")
33-
3432
local keymaps_service = require("doom.services.keymaps")
3533
local commands_service = require("doom.services.commands")
3634
local autocmds_service = require("doom.services.autocommands")

lua/doom/modules/features/lsp/init.lua

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -227,14 +227,6 @@ lsp.configs["nvim-cmp"] = function()
227227

228228
local replace_termcodes = utils.replace_termcodes
229229

230-
local source_map = {
231-
nvim_lsp = "[LSP]",
232-
luasnip = "[Snp]",
233-
buffer = "[Buf]",
234-
nvim_lua = "[Lua]",
235-
path = "[Path]",
236-
}
237-
238230
--- Helper function to check what <Tab> behaviour to use
239231
--- @return boolean
240232
local function check_backspace()

lua/doom/modules/langs/cc/init.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
local utils = require("doom.utils")
2-
31
local cc = {}
42

53
cc.settings = {

lua/doom/modules/langs/lua/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ lua.settings = {
7676
-- for your Neovim config directory, the config.library settings will be used as is
7777
-- for plugin directories (root_dirs having a /lua directory), config.library.plugins will be disabled
7878
-- for any other directory, config.library.enabled will be set to false
79-
override = function(root_dir, options) end,
79+
override = function(_root_dir, _options) end,
8080
-- With lspconfig, Neodev will automatically setup your lua-language-server
8181
-- If you disable this, then you have to set {before_init=require("neodev.lsp").before_init}
8282
-- in your lsp start options

0 commit comments

Comments
 (0)