mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-22 04:21:03 +00:00
set nvim settings
This commit is contained in:
parent
1503a02bfa
commit
dde568fc53
1 changed files with 15 additions and 2 deletions
|
|
@ -1,4 +1,17 @@
|
|||
-- Options are automatically loaded before lazy.nvim startup
|
||||
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
|
||||
-- Add any additional options here
|
||||
vim.g.autoformat = false
|
||||
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
|
||||
|
||||
local g, opt = vim.g, vim.opt
|
||||
|
||||
g.autoformat = false -- disable LazyVim autoformat on save
|
||||
g.loaded_python3_provider = 0
|
||||
g.loaded_node_provider = 0
|
||||
g.loaded_ruby_provider = 0
|
||||
g.ruby_path = vim.fn.system('rbenv prefix') -- github.com/vim-ruby/vim-ruby/issues/248
|
||||
|
||||
opt.regexpengine = 1 -- sourcing <nvim7-install..>/syntax/ruby.vim from ~18ms to ~9ms
|
||||
opt.colorcolumn = "90,100" -- line length guideline
|
||||
opt.showbreak = " ↪ " -- show linebreak with arrow ↪
|
||||
opt.linebreak = true -- break line on word, not char
|
||||
-- opt.wrap = true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue