Update nvim config
This commit is contained in:
parent
2c989c5def
commit
84f5fadb05
4 changed files with 44 additions and 6 deletions
16
init.lua
16
init.lua
|
|
@ -174,7 +174,7 @@ require('lazy').setup({
|
|||
-- These are some example plugins that I've included in the kickstart repository.
|
||||
-- Uncomment any of the lines below to enable them.
|
||||
-- require 'kickstart.plugins.autoformat',
|
||||
-- require 'kickstart.plugins.debug',
|
||||
require 'kickstart.plugins.debug',
|
||||
|
||||
-- NOTE: The import below automatically adds your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
|
||||
-- You can use this folder to prevent any conflicts with this init.lua if you're interested in keeping
|
||||
|
|
@ -207,9 +207,18 @@ vim.o.clipboard = 'unnamedplus'
|
|||
-- Enable break indent
|
||||
vim.o.breakindent = true
|
||||
|
||||
-- Whitespace
|
||||
vim.o.expandtab = true
|
||||
vim.o.shiftwidth = 4
|
||||
vim.o.softtabstop = 4
|
||||
vim.o.tabstop = 4
|
||||
|
||||
-- Save undo history
|
||||
vim.o.undofile = true
|
||||
|
||||
-- Shows current line highlight
|
||||
vim.o.cursorline = true
|
||||
|
||||
-- Case insensitive searching UNLESS /C or capital in search
|
||||
vim.o.ignorecase = true
|
||||
vim.o.smartcase = true
|
||||
|
|
@ -227,6 +236,7 @@ vim.o.completeopt = 'menuone,noselect'
|
|||
|
||||
-- NOTE: You should make sure your terminal supports this
|
||||
vim.o.termguicolors = true
|
||||
vim.o.guifont = "JetBrainsMono NFM"
|
||||
|
||||
-- [[ Basic Keymaps ]]
|
||||
|
||||
|
|
@ -406,10 +416,10 @@ end
|
|||
-- Add any additional override configuration in the following tables. They will be passed to
|
||||
-- the `settings` field of the server config. You must look up that documentation yourself.
|
||||
local servers = {
|
||||
-- clangd = {},
|
||||
clangd = {},
|
||||
-- gopls = {},
|
||||
-- pyright = {},
|
||||
-- rust_analyzer = {},
|
||||
rust_analyzer = {},
|
||||
-- tsserver = {},
|
||||
|
||||
lua_ls = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue