a few tweaks
This commit is contained in:
		
							parent
							
								
									5aeddfdd5d
								
							
						
					
					
						commit
						5311fd4cdb
					
				
							
								
								
									
										32
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										32
									
								
								init.lua
								
								
								
								
							| 
						 | 
				
			
			@ -91,7 +91,7 @@ vim.g.mapleader = ' '
 | 
			
		|||
vim.g.maplocalleader = ' '
 | 
			
		||||
 | 
			
		||||
-- 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 ]]
 | 
			
		||||
-- See `:help vim.opt`
 | 
			
		||||
| 
						 | 
				
			
			@ -102,7 +102,7 @@ vim.g.have_nerd_font = false
 | 
			
		|||
vim.opt.number = true
 | 
			
		||||
-- You can also add relative line numbers, to help with jumping.
 | 
			
		||||
--  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!
 | 
			
		||||
vim.opt.mouse = 'a'
 | 
			
		||||
| 
						 | 
				
			
			@ -226,7 +226,7 @@ vim.opt.rtp:prepend(lazypath)
 | 
			
		|||
-- NOTE: Here is where you install your plugins.
 | 
			
		||||
require('lazy').setup({
 | 
			
		||||
  -- NOTE: Plugins can be added with a link (or for a github repo: 'owner/repo' link).
 | 
			
		||||
  'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically
 | 
			
		||||
  -- 'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically
 | 
			
		||||
 | 
			
		||||
  -- NOTE: Plugins can also be added by using a table,
 | 
			
		||||
  -- with the first argument being the link and the following
 | 
			
		||||
| 
						 | 
				
			
			@ -566,7 +566,7 @@ require('lazy').setup({
 | 
			
		|||
      --        For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
 | 
			
		||||
      local servers = {
 | 
			
		||||
        -- clangd = {},
 | 
			
		||||
        -- gopls = {},
 | 
			
		||||
        gopls = {},
 | 
			
		||||
        -- pyright = {},
 | 
			
		||||
        -- rust_analyzer = {},
 | 
			
		||||
        -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
 | 
			
		||||
| 
						 | 
				
			
			@ -576,6 +576,12 @@ require('lazy').setup({
 | 
			
		|||
        --
 | 
			
		||||
        -- But for many setups, the LSP (`tsserver`) will work just fine
 | 
			
		||||
        -- tsserver = {},
 | 
			
		||||
        -- angularls = {},
 | 
			
		||||
        -- css_variables = {},
 | 
			
		||||
        -- cssls = {},
 | 
			
		||||
        -- html = {},
 | 
			
		||||
        -- htmx = {},
 | 
			
		||||
        -- tailwindcss = {},
 | 
			
		||||
        --
 | 
			
		||||
 | 
			
		||||
        lua_ls = {
 | 
			
		||||
| 
						 | 
				
			
			@ -733,9 +739,9 @@ require('lazy').setup({
 | 
			
		|||
 | 
			
		||||
          -- If you prefer more traditional completion keymaps,
 | 
			
		||||
          -- you can uncomment the following lines
 | 
			
		||||
          --['<CR>'] = cmp.mapping.confirm { select = true },
 | 
			
		||||
          --['<Tab>'] = cmp.mapping.select_next_item(),
 | 
			
		||||
          --['<S-Tab>'] = cmp.mapping.select_prev_item(),
 | 
			
		||||
          ['<CR>'] = cmp.mapping.confirm { select = true },
 | 
			
		||||
          ['<Tab>'] = cmp.mapping.select_next_item(),
 | 
			
		||||
          ['<S-Tab>'] = cmp.mapping.select_prev_item(),
 | 
			
		||||
 | 
			
		||||
          -- Manually trigger a completion from nvim-cmp.
 | 
			
		||||
          --  Generally you don't need this, because nvim-cmp will display
 | 
			
		||||
| 
						 | 
				
			
			@ -874,18 +880,18 @@ require('lazy').setup({
 | 
			
		|||
  --  Uncomment any of the lines below to enable them (you will need to restart nvim).
 | 
			
		||||
  --
 | 
			
		||||
  -- require 'kickstart.plugins.debug',
 | 
			
		||||
  -- require 'kickstart.plugins.indent_line',
 | 
			
		||||
  -- require 'kickstart.plugins.lint',
 | 
			
		||||
  -- require 'kickstart.plugins.autopairs',
 | 
			
		||||
  -- require 'kickstart.plugins.neo-tree',
 | 
			
		||||
  -- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
 | 
			
		||||
  require 'kickstart.plugins.indent_line',
 | 
			
		||||
  require 'kickstart.plugins.lint',
 | 
			
		||||
  require 'kickstart.plugins.autopairs',
 | 
			
		||||
  require 'kickstart.plugins.neo-tree',
 | 
			
		||||
  require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
 | 
			
		||||
 | 
			
		||||
  -- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
 | 
			
		||||
  --    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.
 | 
			
		||||
  --    For additional information, see `:help lazy.nvim-lazy.nvim-structuring-your-plugins`
 | 
			
		||||
  -- { import = 'custom.plugins' },
 | 
			
		||||
  { import = 'custom.plugins' },
 | 
			
		||||
}, {
 | 
			
		||||
  ui = {
 | 
			
		||||
    -- If you are using a Nerd Font: set icons to an empty table which will use the
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue