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

colorscheme, terminal and luacheck fixes #415

Merged
merged 5 commits into from
Oct 27, 2023
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions lua/doom/core/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@ if not utils.is_module_enabled("features", "netrw") then
g.loaded_netrwFileHandlers = 1
end

-- Load the colourscheme
profiler.start("framework|doom.core.ui")
utils.safe_require("doom.core.ui")
profiler.stop("framework|doom.core.ui")

-- Set some extra commands
utils.safe_require("doom.core.commands")

Expand All @@ -70,6 +65,11 @@ profiler.stop("framework|user settings")
modules.try_sync()
profiler.stop("framework|doom.core.modules")

-- Load the colourscheme
profiler.start("framework|doom.core.ui")
utils.safe_require("doom.core.ui")
profiler.stop("framework|doom.core.ui")

-- Execute autocommand for user to hook custom config into
vim.api.nvim_exec_autocmds("User", {
pattern = "DoomStarted",
Expand Down
1 change: 0 additions & 1 deletion lua/doom/modules/features/indentlines/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ indentlines.packages = {
["indent-blankline.nvim"] = {
"lukas-reineke/indent-blankline.nvim",
commit = "db7cbcb40cc00fc5d6074d7569fb37197705e7f6",
event = "ColorScheme",
},
}

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 @@ -211,14 +211,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
8 changes: 8 additions & 0 deletions lua/doom/modules/features/terminal/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,12 @@ terminal.binds = {
},
}

terminal.autocmds = {
{
"TermOpen",
"*",
"setlocal laststatus=0 noshowmode noruler nonumber norelativenumber",
},
}

return terminal
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