@@ -157,8 +157,15 @@ vim.opt.cursorline = true
157157-- Minimal number of screen lines to keep above and below the cursor.
158158vim .opt .scrolloff = 10
159159
160+ -- turn off virtual lines ect.
161+ vim .diagnostic .config {
162+ virtual_text = false ,
163+ virtual_lines = true ,
164+ underline = false ,
165+ }
166+
160167-- pull in remaps
161- require ' remap'
168+ -- require 'remap'
162169
163170-- [[ Basic Autocommands ]]
164171-- See `:help lua-guide-autocommands`
@@ -600,7 +607,6 @@ require('lazy').setup({
600607 -- clangd = {},
601608 -- gopls = {},
602609 pylsp = {},
603- -- pyright = {},
604610 -- rust_analyzer = {},
605611 -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
606612 --
@@ -771,18 +777,19 @@ require('lazy').setup({
771777 -- Accept ([y]es) the completion.
772778 -- This will auto-import if your LSP supports it.
773779 -- This will expand snippets if the LSP sent a snippet.
774- [' <C-y>' ] = cmp .mapping .confirm { select = true },
780+ -- ['<C-y>'] = cmp.mapping.confirm { select = true },
781+ [' <C-Space>' ] = cmp .mapping .confirm { select = true },
775782
776783 -- If you prefer more traditional completion keymaps,
777784 -- you can uncomment the following lines
778785 -- ['<CR>'] = cmp.mapping.confirm { select = true },
779- -- ['<Tab>'] = cmp.mapping.select_next_item (),
786+ -- ['<Tab>'] = cmp.mapping.confim (),
780787 -- ['<S-Tab>'] = cmp.mapping.select_prev_item(),
781788
782789 -- Manually trigger a completion from nvim-cmp.
783790 -- Generally you don't need this, because nvim-cmp will display
784791 -- completions whenever it has completion options available.
785- [' <C-Space>' ] = cmp .mapping .complete {},
792+ -- ['<C-Space>'] = cmp.mapping.complete {},
786793
787794 -- Think of <c-l> as moving to the right of your snippet expansion.
788795 -- So if you have a snippet that's like:
@@ -923,7 +930,7 @@ require('lazy').setup({
923930 -- This is the easiest way to modularize your config.
924931 --
925932 -- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
926- -- { import = 'custom.plugins' },
933+ { import = ' custom.plugins' },
927934 --
928935 -- For additional information with loading, sourcing and examples see `:help lazy.nvim-🔌-plugin-spec`
929936 -- Or use telescope!
0 commit comments