Compare commits
2 Commits
c0d6ee8323
...
fd451b891c
Author | SHA1 | Date | |
---|---|---|---|
fd451b891c
|
|||
85cdecf0a2
|
@@ -140,7 +140,7 @@ local function compile_project(command)
|
||||
end
|
||||
|
||||
vim.api.nvim_create_user_command('CompileClose', function()
|
||||
if vim.api.nvim_buf_is_valid(BuildTerminalBuf) then
|
||||
if BuildTerminalBuf ~= nil and vim.api.nvim_buf_is_valid(BuildTerminalBuf) then
|
||||
vim.api.nvim_buf_delete(BuildTerminalBuf, { force = true })
|
||||
end
|
||||
end, {})
|
||||
|
@@ -34,6 +34,8 @@ vim.opt.smoothscroll = true
|
||||
local dir = vim.fn.fnamemodify(vim.fn.getcwd(), ':t')
|
||||
if dir == 'grimoire' then
|
||||
vim.opt.colorcolumn = '0'
|
||||
elseif dir == 'krypton' then
|
||||
vim.opt.colorcolumn = ''
|
||||
else
|
||||
vim.opt.colorcolumn = '100'
|
||||
end
|
||||
|
Reference in New Issue
Block a user