summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2023-06-03 19:42:23 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2023-06-03 19:42:23 -0600
commit510d4a42fed6647b6db3522c87e59b2f2843a670 (patch)
tree75bd3c80febc4f5c0f6815e58dd3286ef42f130a /init.lua
parentad9bdf2f20ce1357c788a749117a3a5d2d3a3c01 (diff)
minor tweaks
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/init.lua b/init.lua
index 9bc1bbf..4a32cbf 100644
--- a/init.lua
+++ b/init.lua
@@ -20,9 +20,6 @@ vim.opt.rtp:prepend(lazypath)
require('lazy').setup('plugins', {})
-- [[ Setting options ]]
--- See `:help vim.o`
--- NOTE: You can change these options as you wish!
-
-- Set highlight on search
vim.o.hlsearch = false
@@ -33,8 +30,6 @@ vim.wo.number = true
vim.o.mouse = 'a'
-- Sync clipboard between OS and Neovim.
--- Remove this option if you want your OS clipboard to remain independent.
--- See `:help 'clipboard'`
vim.o.clipboard = 'unnamedplus'
-- Enable break indent
@@ -64,7 +59,6 @@ vim.o.termguicolors = true
-- [[ Basic Keymaps ]]
-- Keymaps for better default experience
--- See `:help vim.keymap.set()`
vim.keymap.set({ 'n', 'v' }, '<Space>', '<Nop>', { silent = true })
-- Remap for dealing with word wrap
@@ -72,7 +66,6 @@ vim.keymap.set('n', 'k', "v:count == 0 ? 'gk' : 'k'", { expr = true, silent = tr
vim.keymap.set('n', 'j', "v:count == 0 ? 'gj' : 'j'", { expr = true, silent = true })
-- [[ Highlight on yank ]]
--- See `:help vim.highlight.on_yank()`
local highlight_group = vim.api.nvim_create_augroup('YankHighlight', { clear = true })
vim.api.nvim_create_autocmd('TextYankPost', {
callback = function()
@@ -83,7 +76,6 @@ vim.api.nvim_create_autocmd('TextYankPost', {
})
-- [[ Configure Treesitter ]]
--- See `:help nvim-treesitter`
require('nvim-treesitter.configs').setup {
-- Add languages to be installed here that you want installed for treesitter
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'typescript', 'vimdoc', 'vim' },