mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
nvim: tty setup
This commit is contained in:
parent
3d12a52b47
commit
c9ce831415
4 changed files with 21 additions and 2 deletions
|
|
@ -8,8 +8,12 @@
|
|||
|
||||
-- Entry point of neovim configuration
|
||||
require("config.options")
|
||||
local term = os.getenv("TERM") or ""
|
||||
if vim.g.vscode then -- TODO: VSCode Neovim Integration
|
||||
require("config.vscode")
|
||||
elseif term == "linux" then -- Under tty
|
||||
require("config.tty")
|
||||
vim.cmd("colorscheme vim") -- Use minimal colorscheme
|
||||
else
|
||||
require("config.plugins")
|
||||
require("config.colorscheme")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue