Skip to content
المشاريع

حول

An ambitious theme for vim

أدوات التطوير

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
؜-٣
خلال 7 أيام
؜-٣
خلال 15 يومًا
؜-٢
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

Embark Logo

An ambitious Vim theme.

Man cannot discover new oceans unless he has the courage to lose sight of the shore.
- Andre Gide

Embark Screenshot


Getting Started

[!IMPORTANT] At this time only terminals supporting truecolors will work. Make sure you have termguicolors enabled.

For Vimscript: set termguicolors

For Lua (Neovim): vim.o.termguicolors = true

First install using your plugin manager. Don't forget to change the plugin name to embark using your plugin manager's capabilities.

lazy.nvim

{
  'embark-theme/vim',
  lazy = false,
  priority = 1000,
  name = 'embark'
}

paq-nvim

require('paq') {
  { 'embark-theme/vim', as = 'embark' }
}

vim-plug

Plug 'embark-theme/vim', { 'as': 'embark', 'branch': 'main' }

Then set embark as your colorscheme.

Vimscript:

colorscheme embark

Lua (Neovim):

vim.cmd.colorscheme('embark')

[!TIP] For lazy.nvim users the colorscheme can be set up in the config callback:

{
  'embark-theme/vim',
  lazy = false,
  priority = 1000,
  name = 'embark',
  config = function()
    vim.cmd.colorscheme('embark')
  end
}

Lightline support

A lightline theme is also available. Just set your colorscheme to 'embark'.

Vimscript:

let g:lightline = {
      \ 'colorscheme': 'embark',
      \ }

Lua (for Neovim):

vim.g.lightline = {
  colorscheme = 'embark'
}

Airline support

Airline should just pick up on the theme automatically. If not you can set manually:

Vimscript:

let g:airline_theme = 'embark'

Lua (for Neovim):

vim.g.airline_theme = 'embark'

Lualine support

For Neovim users, Lualine should pick up the theme with the auto setting. If not you can set it manually:

require('lualine').setup {
  options = {
    theme = 'embark'
  }
}

Configuration

Embark offers a few configuration values to control features. Setting values to 1 will turn the feature on.

Italics - Make sure your terminal is set up to handle them. See this for help getting italics and true color working in your terminal.

Vimscript:

let g:embark_terminal_italics = 1

Lua (for Neovim):

vim.g.embark_terminal_italics = 1

See other available ports at https://embark-theme.github.io/

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…