Skip to content

Commit 68bfdcd

Browse files
committed
Setup init.lua
1 parent 7ed8363 commit 68bfdcd

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

init.lua

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ vim.g.mapleader = ' '
9191
vim.g.maplocalleader = ' '
9292

9393
-- Set to true if you have a Nerd Font installed and selected in the terminal
94-
vim.g.have_nerd_font = false
94+
vim.g.have_nerd_font = true
9595

9696
-- [[ Setting options ]]
9797
-- See `:help vim.opt`
@@ -387,6 +387,9 @@ require('lazy').setup({
387387
-- },
388388
-- },
389389
-- pickers = {}
390+
defaults = {
391+
layout_strategy = 'flex',
392+
},
390393
extensions = {
391394
['ui-select'] = {
392395
require('telescope.themes').get_dropdown(),
@@ -694,7 +697,7 @@ require('lazy').setup({
694697
-- Disable "format_on_save lsp_fallback" for languages that don't
695698
-- have a well standardized coding style. You can add additional
696699
-- languages here or re-enable it for the disabled ones.
697-
local disable_filetypes = { c = true, cpp = true }
700+
local disable_filetypes = { c = true, cpp = true, php = true }
698701
local lsp_format_opt
699702
if disable_filetypes[vim.bo[bufnr].filetype] then
700703
lsp_format_opt = 'never'
@@ -926,11 +929,11 @@ require('lazy').setup({
926929
-- Here are some example plugins that I've included in the Kickstart repository.
927930
-- Uncomment any of the lines below to enable them (you will need to restart nvim).
928931
--
929-
-- require 'kickstart.plugins.debug',
930-
-- require 'kickstart.plugins.indent_line',
932+
require 'kickstart.plugins.debug',
933+
require 'kickstart.plugins.indent_line',
931934
-- require 'kickstart.plugins.lint',
932935
-- require 'kickstart.plugins.autopairs',
933-
-- require 'kickstart.plugins.neo-tree',
936+
require 'kickstart.plugins.neo-tree',
934937
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
935938

936939
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
@@ -943,6 +946,11 @@ require('lazy').setup({
943946
-- Or use telescope!
944947
-- In normal mode type `<space>sh` then write `lazy.nvim-plugin`
945948
-- you can continue same window with `<space>sr` which resumes last telescope search
949+
-- For additional information, see `:help lazy.nvim-lazy.nvim-structuring-your-plugins`
950+
951+
{ import = 'custom.plugins' },
952+
{ import = 'custom.keybinds' }, -- Personal keybindings
953+
{ import = 'custom.set' }, -- Personal settings
946954
}, {
947955
ui = {
948956
-- If you are using a Nerd Font: set icons to an empty table which will use the

0 commit comments

Comments
 (0)