diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2024-05-10 01:41:35 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2024-05-10 01:41:35 +0800 |
| commit | 7eda55327ba1d23fdffe2af0900b37f7ab6e8246 (patch) | |
| tree | 3ff8afd167839aea04975d08b5caada3bf72db64 | |
| parent | 958b6c0fad52242a1af3c8fa14c622bddc415a02 (diff) | |
Update
| -rw-r--r-- | nvim.lua | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -124,7 +124,7 @@ require('lazy').setup({ | |||
| 124 | opts = { | 124 | opts = { |
| 125 | plugins = { | 125 | plugins = { |
| 126 | spelling = { | 126 | spelling = { |
| 127 | enabled = true, -- enabling this will show WhichKey when pressing z= to select spelling suggestions | 127 | enabled = true, -- enabling this will show WhichKey when pressing z= to select spelling suggestions |
| 128 | suggestions = 20, -- how many suggestions should be shown in the list? | 128 | suggestions = 20, -- how many suggestions should be shown in the list? |
| 129 | }, | 129 | }, |
| 130 | } | 130 | } |
| @@ -395,7 +395,7 @@ vim.keymap.set('n', '<leader>sd', require('telescope.builtin').diagnostics, { de | |||
| 395 | -- See `:help nvim-treesitter` | 395 | -- See `:help nvim-treesitter` |
| 396 | require('nvim-treesitter.configs').setup { | 396 | require('nvim-treesitter.configs').setup { |
| 397 | -- Add languages to be installed here that you want installed for treesitter | 397 | -- Add languages to be installed here that you want installed for treesitter |
| 398 | ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'typescript', 'vimdoc', 'vim' }, | 398 | ensure_installed = { 'html', 'css', 'lua', 'python', 'rust', 'tsx', 'typescript', 'vimdoc', 'vim' }, |
| 399 | 399 | ||
| 400 | -- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!) | 400 | -- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!) |
| 401 | auto_install = false, | 401 | auto_install = false, |
| @@ -579,7 +579,7 @@ cmp.setup { | |||
| 579 | ['<C-n>'] = cmp.mapping.select_next_item(), | 579 | ['<C-n>'] = cmp.mapping.select_next_item(), |
| 580 | ['<C-p>'] = cmp.mapping.select_prev_item(), | 580 | ['<C-p>'] = cmp.mapping.select_prev_item(), |
| 581 | ['<C-d>'] = cmp.mapping.scroll_docs(-4), | 581 | ['<C-d>'] = cmp.mapping.scroll_docs(-4), |
| 582 | ['<C-f>'] = cmp.mapping.scroll_docs(4), | 582 | ['<C-u>'] = cmp.mapping.scroll_docs(4), |
| 583 | ['<C-Space>'] = cmp.mapping.complete {}, | 583 | ['<C-Space>'] = cmp.mapping.complete {}, |
| 584 | ['<CR>'] = cmp.mapping.confirm { | 584 | ['<CR>'] = cmp.mapping.confirm { |
| 585 | behavior = cmp.ConfirmBehavior.Replace, | 585 | behavior = cmp.ConfirmBehavior.Replace, |