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

Commit

Permalink
chore: Cleanup luacheck issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Connor Guy Meehan committed Jan 20, 2023
1 parent 3a65ea3 commit 5cdc229
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 13 deletions.
2 changes: 0 additions & 2 deletions lua/doom/core/modules.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ local core_modules = {
}
modules.enabled_modules = vim.tbl_deep_extend("keep", core_modules, dofile(modules.source))

local system = require("doom.core.system")

local keymaps_service = require("doom.services.keymaps")
local commands_service = require("doom.services.commands")
local autocmds_service = require("doom.services.autocommands")
Expand Down
8 changes: 0 additions & 8 deletions lua/doom/modules/features/lsp/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -227,14 +227,6 @@ lsp.configs["nvim-cmp"] = function()

local replace_termcodes = utils.replace_termcodes

local source_map = {
nvim_lsp = "[LSP]",
luasnip = "[Snp]",
buffer = "[Buf]",
nvim_lua = "[Lua]",
path = "[Path]",
}

--- Helper function to check what <Tab> behaviour to use
--- @return boolean
local function check_backspace()
Expand Down
2 changes: 0 additions & 2 deletions lua/doom/modules/langs/cc/init.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
local utils = require("doom.utils")

local cc = {}

cc.settings = {
Expand Down
2 changes: 1 addition & 1 deletion lua/doom/modules/langs/lua/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ lua.settings = {
-- for your Neovim config directory, the config.library settings will be used as is
-- for plugin directories (root_dirs having a /lua directory), config.library.plugins will be disabled
-- for any other directory, config.library.enabled will be set to false
override = function(root_dir, options) end,
override = function(_root_dir, _options) end,
-- With lspconfig, Neodev will automatically setup your lua-language-server
-- If you disable this, then you have to set {before_init=require("neodev.lsp").before_init}
-- in your lsp start options
Expand Down

0 comments on commit 5cdc229

Please sign in to comment.