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.
--
-- 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 ]]
@ -255,7 +256,7 @@ else
end
-- Nvim-R
vim.cmd([[let R_assign = 2]]) -- __ becomes left arrow
vim.cmd [[let R_assign = 2]] -- __ becomes left arrow
-- Set highlight on search
vim.o.hlsearch = false
@ -520,7 +521,6 @@ mason_lspconfig.setup_handlers {
-- See `:help cmp`
local cmp = require 'cmp'
--
-- LUASNIP
local luasnip = require 'luasnip'
@ -532,13 +532,13 @@ local t = ls.text_node
-- HELPER
local filename = function()
return { vim.fn.expand("%:p") }
return { vim.fn.expand '%:p' }
end
-- SNIPS
ls.add_snippets("lua", {
s("luaxx", { t("this is lua file!") }),
s("sep", t({ "---------------" })),
ls.add_snippets('lua', {
s('luaxx', { t 'this is lua file!' }),
s('sep', t { '---------------' }),
})
---------------
--