specified format settings

This commit is contained in:
Baipyrus 2024-01-10 14:59:03 +01:00
parent ab694ae6c0
commit 7a8ca584c8

View File

@ -10,6 +10,25 @@ vim.opt.shellquote = ''
vim.opt.shellredir = '2>&1 | Out-File -Encoding UTF8 %s' vim.opt.shellredir = '2>&1 | Out-File -Encoding UTF8 %s'
vim.opt.shellpipe = '2>&1 | Out-File -Encoding UTF8 %s' vim.opt.shellpipe = '2>&1 | Out-File -Encoding UTF8 %s'
-- Format settings
-- Line numbers
vim.opt.nu = true
vim.opt.relativenumber = true
-- Indenting
vim.opt.tabstop = 4
vim.opt.softtabstop = 4
vim.opt.shiftwidth = 4
vim.opt.expandtab = true
vim.opt.smartindent = true
-- Line wrap
vim.opt.wrap = false
-- Search
vim.opt.scrolloff = 8
-- Set <space> as the leader key -- Set <space> as the leader key
-- See `:help mapleader` -- See `:help mapleader`
vim.g.mapleader = ' ' vim.g.mapleader = ' '
@ -176,7 +195,6 @@ require('lazy').setup({
{ {
-- Add indentation guides even on blank lines -- Add indentation guides even on blank lines
'lukas-reineke/indent-blankline.nvim', 'lukas-reineke/indent-blankline.nvim',
-- Enable `lukas-reineke/indent-blankline.nvim`
-- See `:help ibl` -- See `:help ibl`
main = 'ibl', main = 'ibl',
opts = {}, opts = {},
@ -193,7 +211,8 @@ require('lazy').setup({
'nvim-lua/plenary.nvim', 'nvim-lua/plenary.nvim',
{ {
'nvim-telescope/telescope-fzf-native.nvim', 'nvim-telescope/telescope-fzf-native.nvim',
build = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release; cmake --build build --config Release; cmake --install build --prefix build', build =
'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release; cmake --build build --config Release; cmake --install build --prefix build',
}, },
}, },
}, },
@ -207,7 +226,7 @@ require('lazy').setup({
build = ':TSUpdate', build = ':TSUpdate',
}, },
-- require 'kickstart.plugins.autoformat', require 'kickstart.plugins.autoformat',
-- require 'kickstart.plugins.debug', -- require 'kickstart.plugins.debug',
}, {}) }, {})