Skip to content

Instantly share code, notes, and snippets.

View mlabrkic's full-sized avatar

Mladen Brkić mlabrkic

  • HT Servisi d.o.o.
  • Zagreb, Croatia
  • 01:23 (UTC +01:00)
View GitHub Profile
@echasnovski
echasnovski / neovim-options-survey.lua
Created November 22, 2022 12:48
Source code of script used for "Neovim built-in options survey"
-- Get Neovim version
local version = vim.version()
if version.major == 0 and version.minor < 7 then error('This script needs at least Neovim 0.7.') end
-- Create scratch buffer to better track options and paste output lines
local buf_id = vim.api.nvim_create_buf(true, true)
vim.api.nvim_set_current_buf(buf_id)
-- Define "bad" (non-transferable) options
--stylua: ignore