|
|
@ -90,8 +90,10 @@ P.S. You can delete this when you're done too. It's your config now! :)
|
|
|
|
vim.g.mapleader = ' '
|
|
|
|
vim.g.mapleader = ' '
|
|
|
|
vim.g.maplocalleader = ' '
|
|
|
|
vim.g.maplocalleader = ' '
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vim.g.tabstop = 2
|
|
|
|
|
|
|
|
|
|
|
|
-- Set to true if you have a Nerd Font installed and selected in the terminal
|
|
|
|
-- Set to true if you have a Nerd Font installed and selected in the terminal
|
|
|
|
vim.g.have_nerd_font = false
|
|
|
|
vim.g.have_nerd_font = true
|
|
|
|
|
|
|
|
|
|
|
|
-- [[ Setting options ]]
|
|
|
|
-- [[ Setting options ]]
|
|
|
|
-- See `:help vim.opt`
|
|
|
|
-- See `:help vim.opt`
|
|
|
@ -102,7 +104,7 @@ vim.g.have_nerd_font = false
|
|
|
|
vim.opt.number = true
|
|
|
|
vim.opt.number = true
|
|
|
|
-- You can also add relative line numbers, to help with jumping.
|
|
|
|
-- You can also add relative line numbers, to help with jumping.
|
|
|
|
-- Experiment for yourself to see if you like it!
|
|
|
|
-- Experiment for yourself to see if you like it!
|
|
|
|
-- vim.opt.relativenumber = true
|
|
|
|
vim.opt.relativenumber = true
|
|
|
|
|
|
|
|
|
|
|
|
-- Enable mouse mode, can be useful for resizing splits for example!
|
|
|
|
-- Enable mouse mode, can be useful for resizing splits for example!
|
|
|
|
vim.opt.mouse = 'a'
|
|
|
|
vim.opt.mouse = 'a'
|
|
|
@ -743,7 +745,7 @@ require('lazy').setup({
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
opts = {
|
|
|
|
opts = {
|
|
|
|
notify_on_error = false,
|
|
|
|
notify_on_error = true,
|
|
|
|
format_on_save = function(bufnr)
|
|
|
|
format_on_save = function(bufnr)
|
|
|
|
-- Disable "format_on_save lsp_fallback" for languages that don't
|
|
|
|
-- Disable "format_on_save lsp_fallback" for languages that don't
|
|
|
|
-- have a well standardized coding style. You can add additional
|
|
|
|
-- have a well standardized coding style. You can add additional
|
|
|
@ -957,7 +959,7 @@ require('lazy').setup({
|
|
|
|
main = 'nvim-treesitter.configs', -- Sets main module to use for opts
|
|
|
|
main = 'nvim-treesitter.configs', -- Sets main module to use for opts
|
|
|
|
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
|
|
|
|
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
|
|
|
|
opts = {
|
|
|
|
opts = {
|
|
|
|
ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' },
|
|
|
|
ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc', 'ocaml' },
|
|
|
|
-- Autoinstall languages that are not installed
|
|
|
|
-- Autoinstall languages that are not installed
|
|
|
|
auto_install = true,
|
|
|
|
auto_install = true,
|
|
|
|
highlight = {
|
|
|
|
highlight = {
|
|
|
@ -997,7 +999,7 @@ require('lazy').setup({
|
|
|
|
-- This is the easiest way to modularize your config.
|
|
|
|
-- This is the easiest way to modularize your config.
|
|
|
|
--
|
|
|
|
--
|
|
|
|
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
|
|
|
|
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
|
|
|
|
-- { import = 'custom.plugins' },
|
|
|
|
{ import = 'custom.plugins' },
|
|
|
|
--
|
|
|
|
--
|
|
|
|
-- For additional information with loading, sourcing and examples see `:help lazy.nvim-🔌-plugin-spec`
|
|
|
|
-- For additional information with loading, sourcing and examples see `:help lazy.nvim-🔌-plugin-spec`
|
|
|
|
-- Or use telescope!
|
|
|
|
-- Or use telescope!
|
|
|
|