This commit is contained in:
jimrothstein 2023-08-25 16:26:21 -07:00
parent 9d9c58846d
commit 44ba4680d3
1 changed files with 7 additions and 7 deletions

View File

@ -234,7 +234,8 @@ require('lazy').setup({
-- 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.
-- --
-- For additional information see: https://github.com/folke/lazy.nvim#-structuring-your-plugins -- For additional information see: https://github.com/folke/lazy.nvim#-structuring-your-plugins
-- { import = 'custom.plugins' }, -- jr: 2023-08-25
{ import = 'custom.plugins' },
}, {}) }, {})
-- [[ Setting options ]] -- [[ Setting options ]]
@ -255,7 +256,7 @@ else
end end
-- Nvim-R -- Nvim-R
vim.cmd([[let R_assign = 2]]) -- __ becomes left arrow vim.cmd [[let R_assign = 2]] -- __ becomes left arrow
-- Set highlight on search -- Set highlight on search
vim.o.hlsearch = false vim.o.hlsearch = false
@ -520,7 +521,6 @@ mason_lspconfig.setup_handlers {
-- See `:help cmp` -- See `:help cmp`
local cmp = require 'cmp' local cmp = require 'cmp'
-- --
-- LUASNIP -- LUASNIP
local luasnip = require 'luasnip' local luasnip = require 'luasnip'
@ -532,13 +532,13 @@ local t = ls.text_node
-- HELPER -- HELPER
local filename = function() local filename = function()
return { vim.fn.expand("%:p") } return { vim.fn.expand '%:p' }
end end
-- SNIPS -- SNIPS
ls.add_snippets("lua", { ls.add_snippets('lua', {
s("luaxx", { t("this is lua file!") }), s('luaxx', { t 'this is lua file!' }),
s("sep", t({ "---------------" })), s('sep', t { '---------------' }),
}) })
--------------- ---------------
-- --